This commit is contained in:
Thomas FORGIONE
2015-06-29 15:41:18 +02:00
parent d8d1c54fed
commit e5e1513221
8 changed files with 121 additions and 113 deletions

26
utils/compiler.sh Executable file
View File

@@ -0,0 +1,26 @@
#!/usr/bin/bash
args=""
while [[ $# > 0 ]]; do
key="$1"
case $key in
--js) args="$args $2"
shift
;;
--js_output_file)
output="$2"
shift
;;
esac
shift
done
if [ -z "$output" ]; then
cat $args
else
cat $args > $output
fi