20 lines
466 B
Bash
20 lines
466 B
Bash
|
|
||
|
package=test-pluging
|
||
|
version=0.1.0
|
||
|
|
||
|
targets=(public/main.js)
|
||
|
type[public/main.js]=livescript
|
||
|
sources[public/main.js]=src/main.ls
|
||
|
depends[public/main.js]="$(find src | grep '\.ls$' | grep -v "/main.ls$" | tr '\n' ' ' )"
|
||
|
|
||
|
|
||
|
for ext in eot woff2 woff ttf svg; do
|
||
|
for style in solid-900 regular-400 light-300; do
|
||
|
t=public/fa-${style}.${ext}
|
||
|
targets+=($t)
|
||
|
type[$t]=script
|
||
|
sources[$t]=node_modules/@fortawesome/fontawesome-pro/webfonts/$(basename $t)
|
||
|
done
|
||
|
done
|
||
|
|