forked from webyrd/mediKanren
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
25 lines (19 loc) · 790 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
adirRepo := $(shell cd $(dir $(firstword $(MAKEFILE_LIST))) && pwd)
# https://stackoverflow.com/questions/322936/common-gnu-makefile-directory-path
default:
@echo ***available targets***: prepare_ci, run_ci, install_pkgs
prepare_ci:
@echo about to setup_artifacts
@mkdir -p $(adirRepo)/ci_artifacts
@rm -rf $(adirRepo)/ci_artifacts/status
@mkdir -p $(adirRepo)/ci_artifacts/status/pass
@touch $(adirRepo)/ci_artifacts/status/pass/empty
@mkdir -p $(adirRepo)/ci_artifacts/status/fail
@touch $(adirRepo)/ci_artifacts/status/fail/empty
@echo finished setup_artifacts
run_ci: prepare_ci
-bash $(adirRepo)/medikanren/.run_ci.sh
-bash $(adirRepo)/medikanren2/.run_ci.sh
install_pkgs:
-bash $(adirRepo)/medikanren/.install_pkgs.sh
-bash $(adirRepo)/medikanren2/.install_pkgs.sh