-
Notifications
You must be signed in to change notification settings - Fork 51
/
Makefile
29 lines (23 loc) · 875 Bytes
/
Makefile
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
clean:
rm -rf node_modules
rm -rf .sass-cache
rm -rf src/encoded/static/build/*
rm -rf src/encoded/static/build-server/*
devcontainer: download-ontology
ln -sf /app/node_modules .
npm run build
pip install -e '.[dev]'
cp conf/pyramid/development.ini .
install: download-ontology javascript
pip install -e '.[dev]'
cp conf/pyramid/development.ini .
javascript-and-download-files: download-ontology javascript
download-ontology:
curl -o ontology.json -z ontology.json https://s3-us-west-1.amazonaws.com/encoded-build/ontology/ontology-2022-11-01.json
javascript:
npm ci
npm run build
config:
jsonnetfmt -n 2 --max-blank-lines 2 --string-style s --comment-style s -i conf/pyramid/config.jsonnet
jsonnetfmt -n 2 --max-blank-lines 2 --string-style s --comment-style s -i conf/pyramid/sections.libsonnet
jsonnet -m conf/pyramid -S conf/pyramid/config.jsonnet