Skip to content

Commit

Permalink
Move vercel build setup into the repo as a script
Browse files Browse the repository at this point in the history
  • Loading branch information
dhleong committed Dec 13, 2020
1 parent 96416dc commit 2da8041
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"create-build-report:worker": "shadow-cljs run shadow.cljs.build-report worker build-report.html && open build-report.html",
"build": "npm run build:css && npm run build:gh-pages && scripts/update-gh-pages-paths",
"build:top-level": "npm run build:css && npm run build:simple",
"build:vercel": "npm run build:top-level && scripts/compile-builtin-sources",
"build:vercel": "scripts/setup-vercel && npm run build:top-level && scripts/compile-builtin-sources",
"build:css": "lessc less/site.less resources/public/css/site.css",
"build:simple": "shadow-cljs release :app :worker",
"build:debug": "shadow-cljs release :app :worker --config-merge '{:closure-defines {wish.config/gdrive-client-id \"661182319990-1uerkr0pue6k60a83atj2f58md95fb1b.apps.googleusercontent.com\"}}'",
Expand Down
3 changes: 3 additions & 0 deletions scripts/setup-vercel
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

amazon-linux-extras install java-openjdk11

0 comments on commit 2da8041

Please sign in to comment.