nim-snappy/snappy.nimble

17 lines
544 B
Plaintext
Raw Normal View History

2019-08-24 16:49:48 +00:00
mode = ScriptMode.Verbose
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-08-24 16:58:12 +00:00
requires "nim >= 0.19.0",
2019-07-07 12:33:25 +00:00
"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"