GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — display/scripts/build.sh at develop · alarmdisplay/display

Expand file tree

/

build.sh

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
executable file
·
41 lines (33 loc) · 818 Bytes
/

build.sh

Copy path

File metadata and controls

executable file
·
41 lines (33 loc) · 818 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#!/usr/bin/env bash
# The root directory of the project is one up
cd "$(dirname $0)/.."
PROJECT_DIR=$PWD
echo "Project root is $PROJECT_DIR"
if [[ -d build ]]; then
echo "Removing old build folder..."
rm -r build
fi
echo "Building server ..."
cd "$PROJECT_DIR/server"
npm ci
npm run compile || exit
cp package.json lib/
cp package-lock.json lib/
cp -r public lib/
mkdir lib/config
cp config/default.json lib/config/
cp config/docker.json lib/config/
cp config/production.json lib/config/
mv lib "$PROJECT_DIR/build"
echo "Building console ..."
cd "$PROJECT_DIR/console"
npm ci
npm run build || exit
mv dist "$PROJECT_DIR/build/ext-console"
echo "Building frontend ..."
cd "$PROJECT_DIR/frontend"
npm ci
npm run build || exit
mv dist "$PROJECT_DIR/build/ext-display"
cd "$PROJECT_DIR"
cp LICENSE build/
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.