webxdc-go/build.sh

9 lines
232 B
Bash
Raw Normal View History

#!/bin/sh
rm dist/webxdc-go.xdc 2> /dev/null
# idk why zipping from project dir retains src/ prefix but it does
# and this makes the resultant .xdc unreadable to client
cd src
zip -9 --recurse-paths "../dist/webxdc-go.xdc" .
cd ..