|
Oktatás * Programozás 1 * Szkriptnyelvek Teaching * Programming 1 (BI) Félévek Linkek * kalendárium |
Nim2 /
Create a projectCreate a folder for your project and enter it. Inside the project folder, issue the command $ nimble init You'll get several questions. You must decide the type of your project: is it a library or a binary project? If you chose binary, then you will get a
$ tree
.
├── send.nimble
└── src
└── send.nim
Simple templateIf you don't want to use " $ tree . ├── main.nim └── main.nimble
#!/usr/bin/env nimbang #off:nimbang-args c -d:release #nimbang-settings hideDebugInfo echo "hello"
# Package version = "0.1.0" author = "..." description = "..." license = "MIT" # srcDir = "src" # bin = @["basic"] # Dependencies requires "nim >= 2.2.0" |
![]() Blogjaim, hobbi projektjeim * The Ubuntu Incident [ edit ] |