git.schokokeks.org
Repositories
Help
Report an Issue
wirc-frontend.git
Code
Commits
Branches
Tags
Suche
Strukturansicht:
4b25d69
Branches
Tags
master
wirc-frontend.git
tools
makefile
[add] handling for "user_renamed" event
Christian Fraß
commited
4b25d69
at 2021-11-20 19:12:53
makefile
Blame
History
Raw
## directories dir_source := source dir_build := build ## commands cmd_log := echo "--" cmd_tsc := tsc --lib es2017,dom cmd_cp := cp cmd_lessc := lessc cmd_mkdir := mkdir -p ## rules all: structure logic style .PHONY: all structure: ${dir_build}/index.html .PHONY: structure ${dir_build}/index.html: ${dir_source}/index.html @ ${cmd_log} "structure …" @ ${cmd_mkdir} $(dir $@) @ ${cmd_cp} -ru $^ $@ logic: ${dir_build}/logic.js .PHONY: logic ${dir_build}/logic.js: \ ${dir_source}/logic/types.ts \ ${dir_source}/logic/helpers.ts \ ${dir_source}/logic/model.ts \ ${dir_source}/logic/view.ts \ ${dir_source}/logic/control.ts \ ${dir_source}/logic/main.ts @ ${cmd_log} "logic …" @ ${cmd_mkdir} $(dir $@) @ ${cmd_tsc} $^ --outFile $@ style: ${dir_build}/style.css .PHONY: style ${dir_build}/style.css: ${dir_source}/style.less @ ${cmd_log} "style …" @ ${cmd_mkdir} $(dir $@) @ ${cmd_lessc} $^ > $@