a8989d2aefc329fcb343f9bed939253e5ee40cee
Christian Fraß [mod] tools

Christian Fraß authored 3 years ago

1) ## directories
2) dir_source := source
3) dir_build := build
4) dir_lib := lib
5) 
6) ## commands
7) cmd_dir_make := mkdir --parents
8) cmd_copy := cp --recursive --update --verbose
9) cmd_tsc := tsc --lib es2015,dom --target es6
10) cmd_remove := rm --force
11) cmd_link := ln --symbolic
12) 
Christian Fraß [mod] tools:makefile

Christian Fraß authored 3 years ago

13) ## rules
Christian Fraß [mod] tools

Christian Fraß authored 3 years ago

14) all: ${dir_build}/sql ${dir_build}/manage
15) .PHONY: all
16) 
17) ${dir_build}/sql:
18) 	@ ${cmd_dir_make} ${dir_build}/sql
19) 	@ ${cmd_copy} ${dir_source}/sql/* ${dir_build}/sql/
20) .PHONY: ${dir_build}/sql
21) 
22) ${dir_build}/manage: \
23) 	${dir_source}/types.ts \
24) 	${dir_source}/helpers/string.ts \
Christian Fraß [mod] makefile

Christian Fraß authored 3 years ago

25) 	${dir_source}/helpers/json.ts \
Christian Fraß [mod] tools

Christian Fraß authored 3 years ago

26) 	${dir_source}/helpers/file.ts \
27) 	${dir_source}/helpers/database.ts \
28) 	${dir_source}/helpers/misc.ts \
29) 	${dir_source}/helpers/module.ts \
30) 	${dir_source}/helpers/storage.ts \
31) 	${dir_source}/helpers/repository.ts \
32) 	${dir_source}/entities/concept.ts \
33) 	${dir_source}/repositories/language.ts \
34) 	${dir_source}/repositories/type.ts \
35) 	${dir_source}/repositories/tag.ts \
Christian Fraß [mod] makefile

Christian Fraß authored 3 years ago

36) 	${dir_source}/repositories/expression.ts \
Christian Fraß [mod] tools

Christian Fraß authored 3 years ago

37) 	${dir_source}/repositories/concept.ts \
38) 	${dir_source}/services/language.ts \
39) 	${dir_source}/services/type.ts \
40) 	${dir_source}/services/tag.ts \
Christian Fraß [mod] makefile

Christian Fraß authored 3 years ago

41) 	${dir_source}/services/expression.ts \