-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #30 from Mathics3/add-makefile
Add Makefile
- Loading branch information
Showing
1 changed file
with
28 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# A GNU Makefile to run various tasks - compatibility for us old-timers. | ||
|
||
# Note: This makefile include remake-style target comments. | ||
# These comments before the targets start with #: | ||
# remake --tasks to shows the targets and the comments | ||
|
||
PIP ?= pip3 | ||
|
||
#: default target | ||
all: update install | ||
|
||
#: update mathics-core | ||
update: | ||
git submodule init | ||
git submodule update --recursive | ||
|
||
#: install mathics-benchmark | ||
install: | ||
$(PIP) install -e . | ||
|
||
#: remove the reports and results | ||
clean: | ||
find reports -name "*.png" -delete | ||
find results -name "*.json" -delete | ||
|
||
#: initialize venv | ||
venv: | ||
./admin-tools/install-venv.sh |