Check 
[https://github.com/nim-lang/nimforum/blob/master/nimforum.nimble](https://github.com/nim-lang/nimforum/blob/master/nimforum.nimble)
 and you'll find: 
    
    
    task backend, "Compiles and runs the forum backend":
      exec "nimble c src/forum.nim"
      exec "./src/forum"
    
    
    Run
    
    
    task frontend, "Builds the necessary JS frontend (with CSS)":
      exec "nimble c -r src/buildcss"
      exec "nimble js -d:release src/frontend/forum.nim"
      mkDir "public/js"
      cpFile "src/frontend/forum.js", "public/js/forum.js"
    
    
    Run

so execute "nimble backend" to build backend and "nimble frontend" to build 
frontend (see other tasks too)

Reply via email to