dam/build.sh

10 lines
169 B
Bash
Executable file

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