Skip to content

Commit

Permalink
Fix #137 - part 2 (#139)
Browse files Browse the repository at this point in the history
* Fix  #137 - part 2

* Add nimble tasks to ignore
  • Loading branch information
konradmb authored Oct 20, 2021
1 parent 2382d7d commit 0858faa
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
11 changes: 10 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,13 @@ tests/megatest
tests/megatest.nim
tests/server/tserver_application
tests/start_server
examples/todoapp/app
examples/todoapp/app

# nimble texample
tests/compile/test_examples/examples

# nimble treadme
tests/compile/test_readme/readme

# nimble tcompile
tests/compile/test_compile/test_compile
3 changes: 2 additions & 1 deletion examples/basic/views.nim
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import prologue
import myctx

proc hello*(ctx: DataContext) {.async.} =
proc hello*(ctx: Context) {.async.} =
let ctx = DataContext(ctx)
echo ctx.id
resp "<h1>Hello, Prologue!</h1>"

0 comments on commit 0858faa

Please sign in to comment.