Last active
August 29, 2015 14:14
-
-
Save oprypin/1dbf8d36cefb00d1b56d to your computer and use it in GitHub Desktop.
Make a Nimble module importable in all your Nim projects
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
proc cool*() = | |
echo "cool" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Package] | |
name: "cool_module" | |
version: "0.1" | |
author: "Me" | |
description: "Cool stuff" | |
license: "MIT" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# put these two files in one directory and execute | |
nimble install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment