Skip to content

Commit 1bd3d0b

Browse files
committed
Add portable build file
1 parent f81f03f commit 1bd3d0b

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

portable_build.sh

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#!/usr/bin/env bash
2+
3+
set -e
4+
5+
curl -L https://github.com/DavHau/nix-portable/releases/latest/download/nix-portable-$(uname -m) > ./nix-portable
6+
chmod +x ./nix-portable
7+
8+
rm -rf public
9+
./nix-portable nix build
10+
mkdir public
11+
cp -r result/* public/*

0 commit comments

Comments
 (0)