Artifact 988c35050885c0ad6cde5c987d47aafd50148bd7:
- Executable file scripts/addpayload.sh — part of check-in [1d10790192] at 2013-03-05 16:57:01 on branch filesystem — Change bootstrap script to use REPO variable instead of fully hardcoded constant. Add paklib/hello_world.c to showcase a simple tcc -run file. Update scripts/Tupfile to depend on the tcc binary too. Update scripts/addpayload.sh to also include the tcc native binary. Update src/spm.c to call lua, further calling tcc. (user: tcg.thegamer@gmail.com size: 322)
#!/bin/bash # Ensure that .spm/ exists before trying to write to it. mkdir -p .spm/ cp -f ../src/spm .spm/spm cp -f ../deps/tinycc/tcc .spm/tcc cp -f ../deps/tup/tup .spm/tup cp -Rf ../paklib/ .spm/paklib/ tar -czf spm.tgz .spm/ cp -f spm.sh.in spm.sh echo "PAYLOAD:" >> spm.sh cat spm.tgz >> spm.sh rm -Rf spm.tgz .spm/