Skip to content

Instantly share code, notes, and snippets.

@oprypin
Last active August 29, 2015 14:14
Show Gist options
  • Save oprypin/1dbf8d36cefb00d1b56d to your computer and use it in GitHub Desktop.
Save oprypin/1dbf8d36cefb00d1b56d to your computer and use it in GitHub Desktop.
Make a Nimble module importable in all your Nim projects
proc cool*() =
echo "cool"
[Package]
name: "cool_module"
version: "0.1"
author: "Me"
description: "Cool stuff"
license: "MIT"
# 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