Output from Nimble scripts' top-level statements is now
only visible with --verbose.
This commit is contained in:
Dominik Picheta 2019-09-22 14:39:22 +01:00
commit 281a1d129a
4 changed files with 44 additions and 1 deletions

View file

@ -0,0 +1,17 @@
# Package
version = "0.1.0"
author = "Dominik Picheta"
description = "A new awesome nimble package"
license = "MIT"
srcDir = "src"
# Dependencies
requires "nim >= 0.16.0"
echo "hello"
echo "hello2"

View file

@ -0,0 +1,7 @@
# This is just an example to get you started. A typical library package
# exports the main API in this file. Note that you cannot rename this file
# but you can remove it if you wish.
proc add*(x, y: int): int =
## Adds two files together.
return x + y