1
Fork 0

Add build script

This commit is contained in:
Jake Howard 2017-01-14 20:53:06 +00:00
parent 0709cd8c71
commit aa1a7dee74
Signed by: jake
GPG key ID: 57AFB45680EDD477
4 changed files with 24 additions and 6 deletions

2
.nvmrc
View file

@ -1 +1 @@
5.10.1
6.9.4

View file

@ -14,10 +14,10 @@ checkout:
- git submodule update --init --recursive
dependencies:
post:
- pelican -v
override:
- scripts/build
- pelican -v
test:
override:
- scripts/test
override:
- scripts/test

18
scripts/build Executable file
View file

@ -0,0 +1,18 @@
#!/usr/bin/env bash
if [ -z "$NVM_DIR" ]
then
NVM_DIR="$HOME/.nvm"
fi
. $NVM_DIR/nvm.sh
nvm install
nvm use
set -e
pyvenv env
env/bin/pip install -r requirements.txt
npm install

0
scripts/run-build-server.sh Normal file → Executable file
View file