blob: 04f42a3a11fdff1a533578b673fdd84e0f67bb6b (
plain) (
tree)
|
|
#!/usr/bin/env sh
make_stylesheet() {
input="css/${1}.scss"
output="css/${1}.css"
echo "making stylesheet at \"${output}\"..."
sassc --style compressed "${input}" > "${output}"
}
make_script() {
input="js/${1}.ts"
output="js/${1}.js"
echo "making script at \"${output}\"..."
tsc --outFile "${output}" --target ES2022 "${input}"
}
make_stylesheet "main"
make_script "initImages"
|