File tree Expand file tree Collapse file tree 2 files changed +16
-2
lines changed
Expand file tree Collapse file tree 2 files changed +16
-2
lines changed Original file line number Diff line number Diff line change @@ -23,8 +23,7 @@ The biggest missing features that will be implemented soon:
2323- [ ] Pull requests
2424
2525``` sh
26- sassc src/static/css/gitly.scss > src/static/css/gitly.css
27- v .
26+ v build.vsh
2827./gitly
2928```
3029
Original file line number Diff line number Diff line change 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+ }
You can’t perform that action at this time.
0 commit comments