Add build script
This commit is contained in:
parent
0709cd8c71
commit
aa1a7dee74
4 changed files with 24 additions and 6 deletions
2
.nvmrc
2
.nvmrc
|
@ -1 +1 @@
|
|||
5.10.1
|
||||
6.9.4
|
||||
|
|
10
circle.yml
10
circle.yml
|
@ -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
18
scripts/build
Executable 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
0
scripts/run-build-server.sh
Normal file → Executable file
Reference in a new issue