2015-09-21 16:16:02 +02:00
|
|
|
#! /bin/bash
|
|
|
|
|
|
|
|
|
|
set -ex
|
|
|
|
|
|
|
|
|
|
(cd event-schemas/ && ./check_examples.py)
|
|
|
|
|
(cd api && ./check_examples.py)
|
2015-10-07 11:34:29 +02:00
|
|
|
(cd scripts && ./gendoc.py -v)
|
2015-11-30 12:22:57 +01:00
|
|
|
(cd api && npm install && node validator.js -s "client-server")
|
2015-11-19 22:08:37 +01:00
|
|
|
|
2015-11-23 18:28:58 +01:00
|
|
|
: ${GOPATH:=${WORKSPACE}/.gopath}
|
|
|
|
|
mkdir -p "${GOPATH}"
|
|
|
|
|
export GOPATH
|
|
|
|
|
go get github.com/hashicorp/golang-lru
|
|
|
|
|
go get gopkg.in/fsnotify.v1
|
|
|
|
|
|
2017-08-02 17:18:20 +02:00
|
|
|
# make sure that the scripts build
|
2015-11-23 18:28:58 +01:00
|
|
|
(cd scripts/continuserv && go build)
|
|
|
|
|
(cd scripts/speculator && go build)
|
2016-08-02 15:09:36 +02:00
|
|
|
|
2017-08-02 17:18:20 +02:00
|
|
|
# update the jekyll site
|
|
|
|
|
./scripts/generate-jekyll.sh
|
|
|
|
|
|
|
|
|
|
# create a tarball of the generated site
|
|
|
|
|
tar -czf site.tar.gz _site
|