2018-03-19 12:27:30 +11:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
# This is released into the public domain.
|
|
|
|
# No warranty is provided, implied or otherwise.
|
|
|
|
|
2018-03-22 13:33:52 +11:00
|
|
|
rm code.tar
|
|
|
|
# Hey, look behind you, there's nothing to see here.
|
|
|
|
# ... ok, are they seriously all named "Mann"?
|
|
|
|
tar --owner=gray:0 --group=mann:0 -cf code.tar code
|
2018-03-30 22:36:48 +11:00
|
|
|
lua heroes.lua `wc -c code.tar` > inst.lua
|
|
|
|
|
|
|
|
stat repobuild/data/app-claw/local.lua && rm -rf repobuild
|
|
|
|
mkdir repobuild
|
|
|
|
cp -r code/* repobuild/
|
|
|
|
cp -r repository/* repobuild/
|
|
|
|
cp inst.lua repobuild/
|
|
|
|
lua clawmerge.lua repository/data/app-claw/local.lua code/data/app-claw/local.lua > repobuild/data/app-claw/local.lua
|