[mod] output:backend-typescript

This commit is contained in:
Christian Fraß 2023-07-24 13:09:39 +02:00
parent dde0e1f4fc
commit c4c3e81067
2 changed files with 1312 additions and 543 deletions

File diff suppressed because it is too large Load diff

View file

@ -7,6 +7,7 @@ cmd_chmod := chmod
cmd_echo := echo -e cmd_echo := echo -e
cmd_echox := echo cmd_echox := echo
cmd_log := echo -e "--" cmd_log := echo -e "--"
cmd_copy := cp -r -u -v
## rules ## rules
@ -30,7 +31,6 @@ source/main.ts
build/sindri: lib/plankton/plankton.js temp/sindri-unlinked.js build/sindri: lib/plankton/plankton.js temp/sindri-unlinked.js
@ ${cmd_log} "linking …" @ ${cmd_log} "linking …"
@ ${cmd_create_directory} build @ ${cmd_create_directory} build
@ ${cmd_echo} "#!/usr/bin/env node" > temp/head.js @ ${cmd_echox} "#!/usr/bin/env node" > temp/head.js
@ ${cmd_concatenate} temp/head.js $^ > $@ @ ${cmd_concatenate} temp/head.js $^ > $@
@ ${cmd_chmod} +x $@ @ ${cmd_chmod} +x $@