build.zsh/build/sass.zsh

30 lines
536 B
Bash
Raw Permalink Normal View History

2019-11-10 13:23:47 +01:00
function CSS {
echo "${fg_bold[yellow]} CSS > ${fg_bold[white]}$@${reset_color}"
}
function sass.prelude {
: ${install[$target]:=\$(SHAREDIR)/$package}
: ${chmod[$target]:=644}
}
function sass.build {
2020-01-18 02:48:47 +01:00
write "${target}: ${sources[$target]} ${depends[$target]} $(dirdep $target)"
2019-11-10 13:23:47 +01:00
write "\t@echo '$(CSS ${target})'"
write "\t${Q}sassc ${sources[$target]} > ${target}"
write "\n"
}
function sass.clean {
script.clean "$@"
}
function sass.install {
binary.install "$@"
}
function sass.uninstall {
binary.uninstall "$@"
}