authd/project.zsh

26 lines
578 B
Bash
Raw Normal View History

2019-11-15 20:14:51 +01:00
package=authd
version=0.2.0
targets=(authd)
type[authd]=crystal
sources[authd]=src/main.cr
depends[authd]="$(ls src/*.cr | grep -v '/main.cr$' | tr '\n' ' ')"
targets+=(client/main.js)
type[client/main.js]=livescript
sources[client/main.js]=client/index.ls
depends[client/main.js]="$(ls client/*.ls | grep -v '/index.ls$' | tr '\n' ' ')"
targets+=(client/style.css)
type[client/style.css]=sass
sources[client/style.css]=client/style.sass
2019-11-15 20:14:51 +01:00
2019-12-17 16:17:25 +01:00
for file in utils/*.cr; do
util="$(basename ${file%.cr})"
targets+=($util)
type[$util]=crystal
sources[$util]=utils/$util.cr
done