diff options
Diffstat (limited to 'all-in-one.sh')
| -rwxr-xr-x | all-in-one.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/all-in-one.sh b/all-in-one.sh index 8ea9762..2d358ad 100755 --- a/all-in-one.sh +++ b/all-in-one.sh @@ -1,4 +1,8 @@ #!/usr/bin/env sh +cd src/ find . -type f -name "*.c" -exec sh -c 'echo "{}:"; echo "\"\"\""; cat "{}"; echo " \"\"\" -"' \; > bin/compressed.txt
\ No newline at end of file +"' \; > ../bin/compressed.txt +find . -type f -name "*.h" -exec sh -c 'echo "{}:"; echo "\"\"\""; cat "{}"; echo " +\"\"\" +"' \; >> ../bin/compressed.txt
\ No newline at end of file |
