Skip to content
Permalink
main
Switch branches/tags

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?
Go to file
 
 
Cannot retrieve contributors at this time
INVENV = $(shell pip3 -V | grep 'venv')
current_dir = $(shell pwd)
MKDOCS_PORT=8004
build:
# cd docs/assessment/cw1 && remarkable -d ../ -t cwTemplate.jinja2 cw1_brief.md
# cd docs/assessment/cw2 && remarkable -d ../ -t cwTemplate.jinja2 cw2_brief.md
# cd docs/assessment/resit && remarkable -d ../ -t cwTemplate.jinja2 cw1_resit_brief.md && remarkable -d ../ -t cwTemplate.jinja2 cw2_resit_brief.md
mkdocs build --clean
serve:
mkdocs serve --dev-addr localhost:$(MKDOCS_PORT)
publish:
mkdocs gh-deploy --config-file ./mkdocs.yml --remote-branch gh-pages
clean:
rm -rf ./site
prereqs: venvcheck FORCE
pip install -r requirements.txt
#cd reMarkAble && python setup.py install
venv: FORCE
python3 -m venv venv
venvcheck:
ifeq ($(INVENV),)
$(error You should only run this from within the venv. Use '. ./venv/bin/activate')
else
@echo "venv check passed\n"
endif
FORCE: