Apparently I missed a few details of the packaging stuff for setup

This commit is contained in:
20kdc 2020-03-27 22:31:49 +00:00
parent 429de87a61
commit 7680aa7579
2 changed files with 6 additions and 2 deletions

View File

@ -5,8 +5,11 @@
# Package repository using supplied inst.lua (use inst-gold.lua for repository branch)
stat repobuild/data/app-claw && rm -rf repobuild
mkdir repobuild
# this is a guard check to avoid removing repobuild if it's blatantly
# not the actual repobuild directory (this is an rm -rf after all)
stat repobuild/data/app-claw 1>/dev/null 2>/dev/null && rm -rf repobuild
mkdir -p repobuild
cp -r code/* repobuild/
cp -r repository/* repobuild/
cp $1 repobuild/

View File

@ -4,6 +4,7 @@
# No warranty is provided, implied or otherwise.
rm code/data/app-claw/*
mkdir -p code/data/app-claw
lua claw/clawconv.lua code/data/app-claw/ < claw/code-claw.lua > /dev/null
rm code.tar
# Hey, look behind you, there's nothing to see here.