Skip to content

Commit

Permalink
🔧 build: install/update vue static script
Browse files Browse the repository at this point in the history
  • Loading branch information
shurco committed Aug 28, 2023
1 parent a8942c8 commit 3492e04
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 15 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,5 @@ cmd/lc_*/
cmd/site/
fixtures/migration/*_private.sql
.DS_Store

web/site/public/assets/js/vue.js
11 changes: 11 additions & 0 deletions scripts/webscripts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/usr/bin/env bash

#set -e

ROOT_PATH="$(git rev-parse --show-toplevel)"
source ${ROOT_PATH}/scripts/_helper

print_header "Install/Update vue"
VUECORE_LATEST=$(get_latest_release "vuejs/core")
wget "https://unpkg.com/vue@${VUECORE_LATEST:1}/dist/vue.global.prod.js" -4 -q -O ${ROOT_PATH}/web/site/public/assets/js/vue.js
print_answer "SUCCESS" green
7 changes: 0 additions & 7 deletions web/site/public/assets/js/README

This file was deleted.

7 changes: 0 additions & 7 deletions web/site/public/assets/js/utils.js

This file was deleted.

1 change: 0 additions & 1 deletion web/site/public/assets/js/vue.js

This file was deleted.

0 comments on commit 3492e04

Please sign in to comment.