-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
31 lines (20 loc) · 925 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
25
26
27
28
29
30
31
.PHONY: help build extract
CWD=$(shell pwd)
help:
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(word 1, $(MAKEFILE_LIST)) | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
SCRIPTS_DIR=./scripts
export
extract: ## Extract build .tosc into ./export folder.
$(SCRIPTS_DIR)/extract.sh
write-back: extract ## Extract and write build back to /source/xml as new reference.
$(SCRIPTS_DIR)/write-back.sh
build: ## Full build of xml and lua into build dir.
$(SCRIPTS_DIR)/build.sh
start-dev: build ## Build and open build directly in TouchOsc.
$(SCRIPTS_DIR)/start-dev.sh
deploy: build ## Full build and copy to repo root.
$(SCRIPTS_DIR)/deploy.sh
minify-lua: ## Minify all lua scripts.
$(SCRIPTS_DIR)/minify_lua.sh
update-lua: minify-lua ## Minify lua, and update all in XML documents.
$(SCRIPTS_DIR)/update_lua.sh