From 541ed26fa8d22d59b25eb6f1bcac0cb1b4e3248d Mon Sep 17 00:00:00 2001 From: mollusk Date: Mon, 17 Aug 2020 22:44:46 -0700 Subject: [PATCH] Create project structure --- hangme.nimble | 15 +++++++++++++++ src/hangme.nim | 7 +++++++ 2 files changed, 22 insertions(+) create mode 100644 hangme.nimble create mode 100644 src/hangme.nim diff --git a/hangme.nimble b/hangme.nimble new file mode 100644 index 0000000..8ee02e3 --- /dev/null +++ b/hangme.nimble @@ -0,0 +1,15 @@ +# Package + +version = "0.1.0" +author = "mollusk" +description = "A shitty hangman clone" +license = "ISC" +srcDir = "src" +installExt = @["nim"] +bin = @["hangme"] + + + +# Dependencies + +requires "nim >= 1.2.6" diff --git a/src/hangme.nim b/src/hangme.nim new file mode 100644 index 0000000..d4b8d00 --- /dev/null +++ b/src/hangme.nim @@ -0,0 +1,7 @@ +# This is just an example to get you started. A typical hybrid package +# uses this file as the main entry point of the application. + +import hangmepkg/submodule + +when isMainModule: + echo(getWelcomeMessage())