From b524eaf537e8f79a6367a31ba61bad62b9b5eb1b Mon Sep 17 00:00:00 2001 From: andri lim Date: Tue, 2 Oct 2018 10:07:05 +0700 Subject: [PATCH] fixes #24 --- nimPNG.nim | 4 ++-- nimPNG.nimble | 5 +++-- {private => nimPNG}/buffer.nim | 0 {private => nimPNG}/nimz.nim | 0 tester/testCodec.nim | 2 +- 5 files changed, 6 insertions(+), 5 deletions(-) rename {private => nimPNG}/buffer.nim (100%) rename {private => nimPNG}/nimz.nim (100%) diff --git a/nimPNG.nim b/nimPNG.nim index 5821bb8..ac3041b 100644 --- a/nimPNG.nim +++ b/nimPNG.nim @@ -26,10 +26,10 @@ #------------------------------------- import streams, endians, tables, hashes, math -import private/buffer, private/nimz +import nimPNG/[buffer, nimz] const - NIM_PNG_VERSION = "0.2.1" + NIM_PNG_VERSION = "0.2.4" type PNGChunkType = distinct int32 diff --git a/nimPNG.nimble b/nimPNG.nimble index c0b352a..842dd71 100644 --- a/nimPNG.nimble +++ b/nimPNG.nimble @@ -1,11 +1,12 @@ # Package -version = "0.2.3" +version = "0.2.4" author = "Andri Lim" description = "PNG encoder and decoder" license = "MIT" +skipDirs = @["apng", "suite", "tester"] # Deps -requires "nim >= 0.11.2" +requires "nim >= 0.19.0" task tests, "Run tests": withDir("tester"): diff --git a/private/buffer.nim b/nimPNG/buffer.nim similarity index 100% rename from private/buffer.nim rename to nimPNG/buffer.nim diff --git a/private/nimz.nim b/nimPNG/nimz.nim similarity index 100% rename from private/nimz.nim rename to nimPNG/nimz.nim diff --git a/tester/testCodec.nim b/tester/testCodec.nim index 9088605..b08fa45 100644 --- a/tester/testCodec.nim +++ b/tester/testCodec.nim @@ -1,5 +1,5 @@ import nimPNG, streams, math, strutils, tables, base64, os -import private.buffer +import nimPNG/buffer type Image = ref object