Differences From Artifact [194c6de781]:
- Executable file scripts/addpayload.sh — part of check-in [eadae7f870] at 2013-03-05 14:45:12 on branch filesystem — Fix .gitignore not ignoring scripts/spm.sh bootstrap.sh: Stop exporting new PATH variables. Fetch ${2}.build repository first, for future compability with dependency testing. Output git cloning to .spm/log AND stdout with tee .spm/log -a Add doc/chapter1.txt for future article on the package manager. Add doc/preface.txt to give readers an idea on what and why I'm doing this. Add required payload scripts and setup to scripts/ (user: tcg.thegamer@gmail.com size: 200)
To Artifact [988c350508]:
- 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)
1 2 3 4 5 6 7 8 9 10 | #!/bin/bash mkdir -p .spm/ cp -f ../src/spm .spm/spm 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/ | > > > | 1 2 3 4 5 6 7 8 9 10 11 12 13 | #!/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/ |