summaryrefslogtreecommitdiff
path: root/all-in-one.sh
diff options
context:
space:
mode:
authorGravatar moon <moon@coffin.ir> 2025-09-16 11:22:51 +0330
committerGravatar moon <moon@coffin.ir> 2025-09-16 11:22:51 +0330
commit6bc2bf4e1bdb0d3a61c936c99e1ba671c54222b8 (patch)
tree285e95a2052fe9e4a74c9ededb855a46842747ca /all-in-one.sh
parentadd new opcode + firehose change (diff)
compressino + fixed logic
Diffstat (limited to 'all-in-one.sh')
-rwxr-xr-xall-in-one.sh6
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