Browse Source

Fix special tasks

I get errors like this:

```
nitter-git/tools/gencss.nim(1, 8) Error: cannot open file: sass
stack trace: (most recent call last)
/tmp/nimblecache-798796522/nimscriptapi_3049515398.nim(187, 16)
nitter-git/nitter.nimble(31, 8) scssTask
/usr/lib/nim/system/nimscript.nim(260, 7) exec
/usr/lib/nim/system/nimscript.nim(260, 7) Error: unhandled exception: FAILED: nim c -r tools/gencss [OSError]
       Tip: 2 messages have been suppressed, use --verbose to show them.
     Error: Exception raised during nimble script execution
```
pull/523/head
somini 4 months ago
committed by GitHub
parent
commit
ae7d2eafb8
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      nitter.nimble

4
nitter.nimble

@ -28,7 +28,7 @@ requires "jsony#d0e69bd"
# Tasks
task scss, "Generate css":
exec "nim c --hint[Processing]:off -d:danger -r tools/gencss"
exec "nimble c --hint[Processing]:off -d:danger -r tools/gencss"
task md, "Render md":
exec "nim c --hint[Processing]:off -d:danger -r tools/rendermd"
exec "nimble c --hint[Processing]:off -d:danger -r tools/rendermd"

Loading…
Cancel
Save