Commit 2052fa2e authored by Zéfling's avatar Zéfling 🎨
Browse files

Version 0.3 a1

parent 6a052d30
var baku = {}; var baku = {};
baku.version = '0.2'; baku.version = '0.3 a1';
/** /**
* test if it's a string * test if it's a string
......
#!/bin/bash #!/bin/bash
name='' name=''
if [ "$1" = 'full' ]; then if [ "$1" = 'full' ]; then
name='.full' name='.full'
cat baku.js baku.math.js baku.number.js baku.date.js baku.regexp.js baku.string.js baku.string.formater.js baku.dom.js | closure-compiler --js_output_file="baku$name.min.js" cat baku.js baku.math.js baku.number.js baku.date.js baku.regexp.js baku.string.js baku.string.formater.js baku.dom.js | closure-compiler --js_output_file="baku$name.min.js"
elif [ "$1" = 'dom' ]; then elif [ "$1" = 'dom' ]; then
name='.dom' name='.dom'
cat baku.js baku.dom.js | closure-compiler --js_output_file="baku$name.min.js" cat baku.js baku.dom.js | closure-compiler --js_output_file="baku$name.min.js"
else else
cat baku.js baku.math.js baku.number.js baku.date.js baku.regexp.js baku.string.js baku.string.formater.js | closure-compiler --js_output_file="baku$name.min.js" cat baku.js baku.math.js baku.number.js baku.date.js baku.regexp.js baku.string.js baku.string.formater.js | closure-compiler --js_output_file="baku$name.min.js"
fi fi
sed -i '1i/*! BakuJs v0.2 | (c) Zefling | license, see: github.com/Zefling/BakuJS */' "baku$name.min.js" sed -i '1i/*! BakuJs v0.3 a1 | (c) Zefling | license, see: github.com/Zefling/BakuJS */' "baku$name.min.js"
\ No newline at end of file \ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment