File tree Expand file tree Collapse file tree 2 files changed +19
-1
lines changed Expand file tree Collapse file tree 2 files changed +19
-1
lines changed Original file line number Diff line number Diff line change @@ -6,4 +6,4 @@ This repository holds the source code for the new Vue.js-based webapps for Pogo'
6
6
7
7
- ` main/ ` is the client frontend for perusing the feed and listening to episodes.
8
8
9
- If on Windows, you can run ` build.bat ` to automagically build and aggregate the files into ` dist\ ` in the root .
9
+ You can run the ` build.bat ` / ` build.sh ` script (dependant on your OS) to automatically build the entire frontend for production .
Original file line number Diff line number Diff line change
1
+ #! /bin/sh
2
+ # This script automatically builds and aggregates Pogo's frontend files
3
+ if [ ! -d " dist" ]; then
4
+ mkdir dist
5
+ fi
6
+ echo Building admin
7
+ cd admin
8
+ npm run build
9
+ echo Copying admin files
10
+ cp dist ../dist
11
+ cd ..
12
+ cd main
13
+ echo Building main
14
+ npm run build
15
+ echo Copying main files
16
+ cp dist ../dist
17
+ cd ..
18
+ echo Done
You can’t perform that action at this time.
0 commit comments