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