Crystal backend updated.

This commit is contained in:
Luka Vandervelden 2019-05-28 18:45:35 +02:00
parent 2feec7be0b
commit ac042da757

View File

@ -1,7 +1,7 @@
function crystal.build { function crystal.build {
write "${target}: ${src[@]} ${depends[$target]}" write "${target}: ${src[@]} ${depends[$target]}"
write "\t@echo '${fg_bold[magenta]} [CR] ${fg_bold[white]}$target${reset_color}'" write "\t@echo '${fg_bold[magenta]} CR > ${fg_bold[white]}$target${reset_color}'"
write "\t${Q}crystal ${src[@]} -o '${target}'" write "\t${Q}crystal ${src[@]} -o '${target}'"
write "\n" write "\n"
@ -16,7 +16,10 @@ function crystal.uninstall {
} }
function crystal.clean { function crystal.clean {
script.clean "$@" write "${target}.clean:"
write "\t@echo '$(RM ${target})'"
write "\t${Q}rm -f ${target}"
write
} }
function crystal.distfiles { function crystal.distfiles {