Skip to content

Commit 4719517

Browse files
committed
Initial commit
0 parents  commit 4719517

15 files changed

+1545
-0
lines changed

.gitignore

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
node_modules
2+
*.spk
3+
4+
# Generated code:
5+
pb-descriptor.mjs

gen-pb-req.sh

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/usr/bin/env sh
2+
3+
req=$(capnp eval -I/opt/sandstorm/latest/usr/include -p \
4+
powerbox-request.capnp descriptor \
5+
| base64 -w0)
6+
7+
echo "export const pbDescriptor = ['$req'];" > static/pb-descriptor.mjs

gen-powerbox-tag.sh

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/usr/bin/env sh
2+
3+
capnp eval -I/opt/sandstorm/latest/usr/include -p \
4+

node

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/nix/store/iihkrxbcmc3s8y9cw6i92zk21bq64vq0-nodejs-10.17.0/bin/node

0 commit comments

Comments
 (0)