From 01bca203a8e33dce234c208d4aec7ababcd91ab5 Mon Sep 17 00:00:00 2001 From: Dominik Picheta Date: Mon, 28 Dec 2015 16:36:01 +0000 Subject: [PATCH] Added reasoning for convention for hybrid packages in readme. --- readme.markdown | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/readme.markdown b/readme.markdown index 682d9bc..f4b29e1 100644 --- a/readme.markdown +++ b/readme.markdown @@ -443,8 +443,12 @@ of your package. ### Hybrids One thing to note about library and binary package hybrids is that your binary -will most likely share the name of the package. This will mean that you will -not be able to put your .nim files in a ``pkgname`` directory. The current +may share the name of the package. This will mean that you will +not be able to put your .nim files in a ``pkgname`` directory. The reason you +will not be able to do this is because binaries on some operating systems +do not have an extension so they will clash with a directory of the same name. + +The current convention to get around this problem is to append ``pkg`` to the name as is done for nimble.