Skip to content

Commit d1b2675

Browse files
authored
fix: include website in release (#76)
1 parent 90d30f9 commit d1b2675

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

flake.nix

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,8 @@
9898
9999
ln -s ${cmd.polyform.goModules} ./vendor
100100
101+
cp -r ${website}/* ./generator/html/
102+
101103
for platform in ${builtins.toString supportedGoPlatforms}; do
102104
GOOS=$(echo $platform | cut -d'/' -f1)
103105
GOARCH=$(echo $platform | cut -d'/' -f2)
@@ -143,6 +145,9 @@
143145
mkdir -p $out
144146
145147
ln -s ${cmd.polyform.goModules} ./vendor
148+
149+
cp -r ${website}/* ./generator/html/
150+
146151
GOOS=js GOARCH=wasm go build -mod=vendor -o ./main.wasm ./cmd/polyform
147152
148153
${cmd.polywasm}/bin/polywasm build --version ${rev} --wasm ./main.wasm -o $DIST

0 commit comments

Comments
 (0)