Added client index.html and project.zsh entries.

ipc07
Luka Vandervelden 2019-12-09 23:31:45 +01:00
parent 9dc39ace09
commit d1747912fa
2 changed files with 20 additions and 0 deletions

12
client/index.html Normal file
View File

@ -0,0 +1,12 @@
<!doctype html>
<html>
<head>
<title>AuthD</title>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<meta charset="utf-8"/>
<link rel="stylesheet" href="/style.css"/>
</head>
<body>
<script src="/main.js"></script>
</body>
</html>

View File

@ -7,4 +7,12 @@ type[authd]=crystal
sources[authd]=src/main.cr sources[authd]=src/main.cr
depends[authd]="$(ls src/*.cr | grep -v '/main.cr$' | tr '\n' ' ')" 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