webxdc-go/build.sh

7 lines
229 B
Bash
Raw Permalink 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" .)