diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 14 |
1 files changed, 2 insertions, 12 deletions
@@ -1,8 +1,6 @@ -# Copyright (c) 2016-2017 Weitian LI <weitian@aaronly.me> +# Copyright (c) 2016-2018 Weitian LI <wt@liwt.net> # MIT license # -# Makefile for "fg21sim" -# # Credit: http://blog.bottlepy.org/2012/07/16/virtualenv-and-makefiles.html # @@ -12,17 +10,13 @@ VENV ?= venv default: @echo "+-------------------------------------------------------------+" - @echo "| Make Utility for fg21sim |" + @echo "| Make Utility for FG21sim |" @echo "+-------------------------------------------------------------+" @echo "Available targets:" @echo " + venv [VENV=<venv>]" @echo " create virtualenv '${VENV}' and install the dependencies" @echo " + devbuild" @echo " (build and) install the package to the virtualenv" - @echo " + test" - @echo " run the tests" - @echo " + print-<VARIABLE>" - @echo " print the value of variable <VARIABLE>" # Create virtualenv and install/update the dependencies venv: ${VENV}/bin/activate @@ -35,10 +29,6 @@ ${VENV}/bin/activate: requirements.txt devbuild: venv ${VENV}/bin/python3 setup.py install -# Run the tests -test: devbuild - ${VENV}/bin/python3 setup.py test - # One liner to get the value of any makefile variable # Credit: http://blog.jgc.org/2015/04/the-one-line-you-should-add-to-every.html |