blob: 04f42a3a11fdff1a533578b673fdd84e0f67bb6b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#!/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"
|