-
-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathMakefile
51 lines (37 loc) · 1.11 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
.PHONY: help _pre-commit test
all: local
_pre-commit:
@sh ./scripts/commands/pre-commit.sh
help:
@echo "Valid Targets:"
@$(MAKE) -pRrq -f $(lastword $(MAKEFILE_LIST)) : 2>/dev/null | awk -v RS= -F: '/^# File/,/^# Finished Make data base/ {if ($$1 !~ "^[#._]") {print $$1}}' | sort | egrep -v -e '^[^[:alnum:]]' -e '^$@$$' | xargs
deps:
@echo "Update dependencies..."
@sh ./scripts/commands/update-dependencies.sh
test: deps
@echo "Testing..."
@sh ./scripts/commands/test.sh
pkg: test rebuild
@echo "Packaging..."
@sh ./scripts/commands/npm-package.sh
run: local
@echo "Launching..."
@sh ./scripts/commands/local-debug.sh
local:
@echo "Compiling locally."
@sh ./scripts/commands/local-compile.sh
remote:
@echo "Compiling remotely."
@sh ./scripts/commands/remote-compile.sh
clean:
@echo "Cleaning build directorys."
@sh ./scripts/commands/clean.sh
rebuild: clean deps local
cleanup:
@echo "Cleaning up build tools."
@sh ./scripts/commands/cleanup.sh
buildfix:
@echo "Fixing build tools."
@find ./scripts/ -name *.sh -print | xargs chmod +x
genreadme:
@sh ./scripts/commands/generate-readme.sh