-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathMakefile
More file actions
21 lines (20 loc) · 876 Bytes
/
Makefile
File metadata and controls
21 lines (20 loc) · 876 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Run `make extension` to rebuild the extension in development.
# After that, manually close and open vscode (unfortunately that's hard to do programmatically).
extension:
cd extension && \
vsce package --out paperproof.vsix && \
code --uninstall-extension paperproof.paperproof || true && \
code --install-extension paperproof.vsix
# We build app/standalone-rendered.html locally, and deploy everything to paperproof.xyz
xyz.production:
cd app && npm run build:standalone
mkdir -p paperproof.xyz/public
cp -r app/dist paperproof.xyz/public/
cp app/standalone-renderer.html paperproof.xyz/public/
cd paperproof.xyz/deployment && ./deploy.sh 128.199.52.81
xyz.local:
cd app && npm run build:standalone
mkdir -p paperproof.xyz/public
cp -r app/dist paperproof.xyz/public/
cp app/standalone-renderer.html paperproof.xyz/public/
cd paperproof.xyz && node server.js