Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
harbourmaster/Makefile
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
29 lines (19 sloc)
553 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
INVENV = $(shell pip3 -V | grep 'harbour_venv') | |
current_dir = $(shell pwd) | |
prereqs: venvcheck FORCE | |
pip install -r requirements.txt | |
venv: FORCE | |
python3 -m venv harbour_venv | |
docs: | |
pdoc --html ./src/*.py --force | |
venvcheck: | |
ifeq ($(INVENV),) | |
$(error You should only run this from within the venv. Use '. ./harbour_venv/bin/activate') | |
else | |
@echo "venv check passed\n" | |
endif | |
start_target: | |
-docker kill harbourmaster_target | |
-docker rm harbourmaster_target | |
docker run -t --name harbourmaster_target csx239/harbourmaster_target:latest | |
FORCE: |