We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e0756a2 commit c206e46Copy full SHA for c206e46
2 files changed
README.md
@@ -23,8 +23,7 @@ The biggest missing features that will be implemented soon:
23
- [ ] Pull requests
24
25
```sh
26
-sassc src/static/css/gitly.scss > src/static/css/gitly.css
27
-v .
+v build.vsh
28
./gitly
29
```
30
build.vsh
@@ -0,0 +1,15 @@
1
+import net.http
2
+
3
+path := 'src/static/css/gitly.css'
4
+if !exists(path) {
5
+ ret := system('sassc src/static/css/gitly.scss > src/static/css/gitly.css')
6
+ if ret != 0 {
7
+ http.download_file('https://gitly.org/css/gitly.css', path)!
8
+ println("No sassc detected on this system, gitly.css has been downloaded from gitly.org.")
9
+ }
10
+}
11
12
+ret := system('v .')
13
+if ret == 0 {
14
+ println('Gitly has been successfully built, run it with ./gitly')
15
0 commit comments