-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
32 lines (23 loc) · 908 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
30
31
32
# Makefile for building SHACLViewer
.PHONY: help install bundle outdated run-example stop-example example-run example-stop
help:
@echo "Please use \`make <target>' where <target> is one of"
@echo " install to install all build dependencies"
@echo " bundle to pack all dependencies for use in the tool"
@echo " outdated to list all outdated dependencies"
@echo " run-example to build a fresh Docker image and run the example containers"
@echo " stop-example to stop all example containers and remove their data"
install:
python3 -m pip install -r requirements-dev.txt
npm i
bundle:
python3 bundle-assets.py
outdated:
python3 -m pip list --outdated
npm outdated || true
run-example:
docker-compose -f example/docker-compose.yml up -d --build
example-run: run-example
stop-example:
docker-compose -f example/docker-compose.yml down -v
example-stop: stop-example