nimcrypto/nimcrypto.nimble

46 lines
1.5 KiB
Plaintext
Raw Normal View History

2018-12-15 15:14:26 +00:00
# Package
2018-03-15 23:07:09 +00:00
version = "0.3.8"
2018-03-15 23:07:09 +00:00
author = "Eugene Kabanov"
description = "Nim cryptographic library"
license = "MIT"
2018-11-02 06:17:09 +00:00
skipDirs = @["tests", "examples", "Nim", "docs"]
2018-03-15 23:07:09 +00:00
2018-12-15 15:14:26 +00:00
# Dependencies
requires "nim > 0.18.0"
2018-03-21 09:12:35 +00:00
2018-12-15 15:14:26 +00:00
# Tests
2018-03-21 09:12:35 +00:00
task tests, "Runs the test suite":
exec "nim c -f -r tests/testkeccak"
exec "nim c -f -r tests/testsha2"
exec "nim c -f -r tests/testripemd"
exec "nim c -f -r tests/testblake2"
exec "nim c -f -r tests/testhmac"
exec "nim c -f -r tests/testrijndael"
exec "nim c -f -r tests/testtwofish"
exec "nim c -f -r tests/testblowfish"
exec "nim c -f -r tests/testbcmode"
exec "nim c -f -r tests/testsysrand"
exec "nim c -f -r tests/testkdf"
2018-06-22 10:54:42 +00:00
exec "nim c -f -r tests/testapi"
exec "nim c -f -d:release -r tests/testkeccak"
exec "nim c -f -d:release -r tests/testsha2"
exec "nim c -f -d:release -r tests/testripemd"
exec "nim c -f -d:release -r tests/testblake2"
exec "nim c -f -d:release -r tests/testhmac"
exec "nim c -f -d:release -r tests/testrijndael"
exec "nim c -f -d:release -r tests/testtwofish"
exec "nim c -f -d:release -r tests/testblowfish"
exec "nim c -f -d:release -r tests/testbcmode"
exec "nim c -f -d:release -r tests/testsysrand"
exec "nim c -f -d:release -r tests/testkdf"
2018-06-22 10:54:42 +00:00
exec "nim c -f -d:release -r tests/testapi"
exec "nim c -f -r examples/ecb"
exec "nim c -f -r examples/cbc"
exec "nim c -f -r examples/ofb"
exec "nim c -f -r examples/cfb"
exec "nim c -f -r examples/ctr"
2018-12-15 16:12:05 +00:00
exec "nim c -f -r examples/gcm"