dam/build.sh
ayakael d3c141cbd8
[build.sh] Updated build script to remove debug eval command.
[build.sh] Build script now has 'env' file at head and 'parser' file tail
[cmd_deploy] Now uses the _OPT_DB_FILE variable instead of DB_FILE
[cmd_deploy] now generates imageidList using DB_FILE if imageid not provided by user
[cmd_exclude] Rewrote to operate as front end to db_set's exclude function
[cmd_include] Added as front end to db_set's include function
[cmd_update] Fixed some typos
[db_set] Added as backend to DB_FILE trackid selection
[env] Now defines _OPT_DB_FILE as .dam.db
[parser] Updates parser to support cmd_deploy, cmd_include, cmd_exclude and cmd_update
[print_meta_mtag] Last line now does not trail with ";" character
2018-03-28 19:26:38 -04:00

11 lines
197 B
Bash
Executable file

#!/bin/bash
EXEC=dam
echo -e "#!/bin/bash\n" > ${EXEC}
for file in src/env $(find src/ -type f -not -name env -not -name parser) src/parser; do
awk '!/^ *#/ && NF' ${file} >> ${EXEC}
done