2018-05-24 08:35:05 +10:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
# This is released into the public domain.
|
|
|
|
# No warranty is provided, implied or otherwise.
|
|
|
|
|
2018-07-29 00:00:30 +10:00
|
|
|
# Package repository using supplied inst.lua (use inst-gold.lua for repository branch)
|
|
|
|
|
|
|
|
stat repobuild/data/app-claw && rm -rf repobuild
|
2018-05-24 08:35:05 +10:00
|
|
|
mkdir repobuild
|
|
|
|
cp -r code/* repobuild/
|
|
|
|
cp -r repository/* repobuild/
|
2018-07-29 00:00:30 +10:00
|
|
|
cp $1 repobuild/
|
2018-06-12 10:27:26 +10:00
|
|
|
lua claw/clawconv.lua repobuild/data/app-claw/ < claw/code-claw.lua > repobuild/data/app-claw/local.c2l
|
|
|
|
lua claw/clawconv.lua repobuild/data/app-claw/ < claw/repo-claw.lua >> repobuild/data/app-claw/local.c2l
|