-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
24 lines (17 loc) · 834 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
SHELL := /bin/bash
.PHONY: help
.DEFAULT_GOAL := help
.ONESHELL: # Applies to every target in the file https://www.gnu.org/software/make/manual/html_node/One-Shell.html
MAKEFLAGS += --silent # https://www.gnu.org/software/make/manual/html_node/Silent.html
help: ## 💬 Shows available commands
grep -E '[a-zA-Z_-]+:.*?## .*$$' $(firstword $(MAKEFILE_LIST)) | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-23s\033[0m %s\n\n", $$1, $$2}'
setup-local-env: ## 🐍 Create a virtual environment and install dependencies
@sh ./scripts/setup-local.sh
run-unit-tests: ## 🧪 Run unit tests
@sh ./scripts/run-unit-tests.sh
run: ## 🚀 Run the application
@sh ./scripts/run.sh $(ARGS)
run-help: ## 🚀 Run the application with help
@sh ./scripts/run-help.sh
new-experiment: ## 🧪 Create a new experiment
@python src/main.py