1b85fc9a1308f1305a4525dd93427f7f597ee55c
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 \
25) 	${dir_source}/helpers/file.ts \
26) 	${dir_source}/helpers/database.ts \
27) 	${dir_source}/helpers/misc.ts \
28) 	${dir_source}/helpers/module.ts \
29) 	${dir_source}/helpers/storage.ts \
30) 	${dir_source}/helpers/repository.ts \
31) 	${dir_source}/entities/concept.ts \
32) 	${dir_source}/repositories/language.ts \
33) 	${dir_source}/repositories/type.ts \
34) 	${dir_source}/repositories/tag.ts \
Christian Fraß [mod] makefile

Christian Fraß authored 3 years ago

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

Christian Fraß authored 3 years ago

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

Christian Fraß authored 3 years ago

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