source: gs3-extensions/tabletop-dl/trunk/COMPILE.sh@ 37538

Last change on this file since 37538 was 37536, checked in by davidb, 13 months ago

Scripts to compile up and install winbox-with-interactjs

  • Property svn:executable set to *
File size: 500 bytes
Line 
1#!/bin/bash
2
3if [ ! -d src/winbox-with-interactjs/node_modules ] ; then
4 echo "Failed to find src/winbox-with-interactjs/node_modules" >&2
5 echo "Have you run ./NPM-DEV-INSTALL.sh ?" >&2
6 exit 1
7fi
8
9cd src/winbox-with-interactjs \
10 && echo "Running npm run build in src/winbox-with-interact" \
11 && npm run build \
12 && echo "Copying build dist to winbox-with-iteract-dist" \
13 && /bin/rm -rf ../../winbox-with-interact-dist \
14 && /bin/cp dist ../../winbox-with-interact-dist
Note: See TracBrowser for help on using the repository browser.