forked from oxsecurity/megalinter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
33 lines (26 loc) · 1.19 KB
/
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
25
26
27
28
29
30
31
32
33
.PHONY: all test SHELL
python_launcher := python$(shell cut -d '.' -f 1,2 .python-version)
-include $(addsuffix /*.mak, $(shell find .config/make -type d))
## —— Tests ———————————————————————————————————————————————————————————————————————
.PHONY: tests
tests: ## Tests all
$(MAKE) gitpod-tests
$(MAKE) megalinter-tests
.PHONY: tests-fast
tests-fast: ## Tests quickly for TDD mode
$(MAKE) megalinter-tests
## —— Virtualenv ————————————————————————————————————————————————————————————————————————————————
.PHONY: bootstrap
bootstrap: ## Bootstrap environment for development
$(MAKE) python-bootstrap
$(MAKE) python-bootstrap-dev
$(MAKE) nodejs-bootstrap
.PHONY: reinitialization
reinitialization: ## Return to an initial state of Bootstrap
$(MAKE) clean
$(MAKE) bootstrap
.PHONY: clean
clean: ## Cleaning environment
$(MAKE) python-venv-purge
$(MAKE) nodejs-clean
$(MAKE) megalinter-clean