From 0c6a16323c223694dc6abbbb5625ca40f770d2c1 Mon Sep 17 00:00:00 2001 From: jordan Date: Mon, 18 Jan 2021 19:23:32 +0000 Subject: [PATCH] update source path bump nimble version --- README.md | 2 +- docs/{tmplpro => src}/tmplpro.html | 2 +- index.html | 4 ++-- makefile | 4 ++-- {tmplpro => src}/tmplpro.nim | 0 tests/nim.cfg | 2 +- tests/tmplpro_test.nim | 2 +- tmplpro.nimble | 3 ++- 8 files changed, 10 insertions(+), 9 deletions(-) rename docs/{tmplpro => src}/tmplpro.html (99%) rename {tmplpro => src}/tmplpro.nim (100%) diff --git a/README.md b/README.md index 0e1b4a9..e8bcd6a 100644 --- a/README.md +++ b/README.md @@ -62,7 +62,7 @@ The corresponding *NIM* source code to configure the template text processor that produces this outcome looks like import - algorithm, os, sequtils, tmplpro/tmplpro + algorithm, os, sequtils, tmplpro iterator envItems(p: TmplParser): TmplParser {.closure.} = for k in envPairs.toSeq.mapIt(it.key.string).sorted: diff --git a/docs/tmplpro/tmplpro.html b/docs/src/tmplpro.html similarity index 99% rename from docs/tmplpro/tmplpro.html rename to docs/src/tmplpro.html index 4bf3aac..81156de 100644 --- a/docs/tmplpro/tmplpro.html +++ b/docs/src/tmplpro.html @@ -441,7 +441,7 @@

Procs

diff --git a/index.html b/index.html index 16eec62..c56623c 100644 --- a/index.html +++ b/index.html @@ -2,9 +2,9 @@ Documentation Page Relay - + - Forward to Docu Page + Forward to Docu Page diff --git a/makefile b/makefile index 87b0746..d012dfc 100644 --- a/makefile +++ b/makefile @@ -20,13 +20,13 @@ README.html: README.md # ---- -DOCS = docs/tmplpro/tmplpro.html +DOCS = docs/src/tmplpro.html update: $(DOCS) PWD = `pwd` -$(DOCS) : tmplpro/tmplpro.nim +$(DOCS) : src/tmplpro.nim nim doc --outdir:docs --docRoot:$(PWD) $< # ---- diff --git a/tmplpro/tmplpro.nim b/src/tmplpro.nim similarity index 100% rename from tmplpro/tmplpro.nim rename to src/tmplpro.nim diff --git a/tests/nim.cfg b/tests/nim.cfg index 8ea4922..0c6b256 100644 --- a/tests/nim.cfg +++ b/tests/nim.cfg @@ -1 +1 @@ ---path=".." +--path="../src" diff --git a/tests/tmplpro_test.nim b/tests/tmplpro_test.nim index 8cd192b..ae9938c 100644 --- a/tests/tmplpro_test.nim +++ b/tests/tmplpro_test.nim @@ -6,7 +6,7 @@ # import - algorithm, os, sequtils, strformat, strutils, tables, tmplpro/tmplpro + algorithm, os, sequtils, strformat, strutils, tables, tmplpro const noisy {.intdefine.}: int = 0 diff --git a/tmplpro.nimble b/tmplpro.nimble index 329090f..c93cd71 100644 --- a/tmplpro.nimble +++ b/tmplpro.nimble @@ -1,12 +1,13 @@ # Package description = "Text template processor, handy not only for CGI" -version = "0.1.1" +version = "0.1.2" author = "Jordan Hrycaj" license = "UNLICENCE" requires "nim >= 1.4.2" +srcDir= "src" # Tasks