webxdc-go/build.sh
oxaliq ee9a6222fa pull in client-side go app
modify build script to create working .xdc
2024-06-22 20:14:35 -04:00

6 lines
229 B
Bash
Executable file

#!/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" .)