nim-snappy/snappy.nimble

15 lines
518 B
Plaintext
Raw Normal View History

2018-11-02 05:10:58 +00:00
packageName = "snappy"
version = "0.1.0"
author = "Andri Lim"
description = "Nim implementation of snappy compression algorithm"
license = "MIT"
skipDirs = @["tests"]
2019-07-07 12:33:25 +00:00
requires: "nim >= 0.19.0",
"faststreams"
2018-11-02 05:10:58 +00:00
task test, "Run all tests":
2018-11-02 14:48:41 +00:00
exec "nim c --passL:\"-lsnappy -L./tests -lstdc++\" -r tests/test"
exec "nim c --passL:\"-lsnappy -L./tests -lstdc++\" -d:release -r tests/test"
2019-01-10 02:33:27 +00:00
exec "nim c --passL:\"-lsnappy -L./tests -lstdc++\" --threads:on -d:release -r tests/test"