dam/build.sh
2018-04-07 19:58:45 -04:00

11 lines
238 B
Bash
Executable file

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