Files
SIMoN/Makefile
Michael T. Kelbaugh b239363936 add phony target
Former-commit-id: dd815ed08ddf3f58cef41ffbf5d29831c4ea7731
2020-04-14 10:25:15 -04:00

24 lines
487 B
Makefile

SHELL := /bin/bash
.PHONY: build-model up all stop clean purge graph
build-model:
docker build -t simon-model:latest -f build/Dockerfile .
up:
cd build && docker-compose -p simon up --build -d
all: build-model up
stop:
cd build && docker-compose -p simon stop
clean:
cd build && docker-compose -p simon down
purge:
cd build && docker-compose -p simon down --rmi all
graph:
cd graphs && docker build -t simon-graph:latest . && docker run -v `pwd`:/opt -d simon-graph:latest