diff --git a/.gitignore b/.gitignore index aea9e1e..f31571b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,4 @@ nimcache/ *.exe +nimble.develop +nimble.paths diff --git a/config.nims b/config.nims new file mode 100644 index 0000000..7c9db32 --- /dev/null +++ b/config.nims @@ -0,0 +1,4 @@ +# begin Nimble config (version 1) +when fileExists("nimble.paths"): + include "nimble.paths" +# end Nimble config diff --git a/faststreams.nimble b/faststreams.nimble index 8baeea8..4467091 100644 --- a/faststreams.nimble +++ b/faststreams.nimble @@ -18,7 +18,10 @@ proc test(args, path: string) = # Compilation language is controlled by TEST_LANG let lang = getEnv("TEST_LANG", "c") - let common_args = "-r -f " & getEnv("NIMFLAGS") & " --hints:off --skipParentCfg --styleCheck:usages --styleCheck:error" + var common_args = "-r -f " & getEnv("NIMFLAGS") & " --hints:off --styleCheck:usages --styleCheck:error" + + if getEnv("IN_STATUS_NIM_WORKSPACE") == "": + common_args &= " --skipParentCfg" exec "nim " & lang & " " & args & " -d:asyncBackend=none " & common_args & " " & path diff --git a/nimble.lock b/nimble.lock new file mode 100644 index 0000000..b10d707 --- /dev/null +++ b/nimble.lock @@ -0,0 +1,77 @@ +{ + "version": 1, + "packages": { + "unittest2": { + "version": "0.0.3", + "vcsRevision": "24eb5e829ed07e71e3a5d09786d5f80aa988874f", + "url": "https://github.com/status-im/nim-unittest2.git", + "downloadMethod": "git", + "dependencies": [], + "checksums": { + "sha1": "0140709df36bca378cfa8678e04082f9a1fccabf" + } + }, + "testutils": { + "version": "0.4.2", + "vcsRevision": "aa6e5216f4b4ab5aa971cdcdd70e1ec1203cedf2", + "url": "https://github.com/status-im/nim-testutils", + "downloadMethod": "git", + "dependencies": [ + "unittest2" + ], + "checksums": { + "sha1": "94427e0cce0e0c5841edcd3a6530b4e6b857a3cb" + } + }, + "bearssl": { + "version": "0.1.5", + "vcsRevision": "ba80e2a0d7ae8aab666cee013e38ff8d33a3e5e7", + "url": "https://github.com/status-im/nim-bearssl", + "downloadMethod": "git", + "dependencies": [ + "unittest2" + ], + "checksums": { + "sha1": "383abd5becc77bf8e365b780a29d20529e1d9c4c" + } + }, + "stew": { + "version": "0.1.0", + "vcsRevision": "bb705bf17b46d2c8f9bfb106d9cc7437009a2501", + "url": "https://github.com/status-im/nim-stew", + "downloadMethod": "git", + "dependencies": [], + "checksums": { + "sha1": "adac4b56a0dc35b1f5fc8fb66e8bb182100c857a" + } + }, + "httputils": { + "version": "0.3.0", + "vcsRevision": "40048e8b3e69284bdb5d4daa0a16ad93402c55db", + "url": "https://github.com/status-im/nim-http-utils", + "downloadMethod": "git", + "dependencies": [ + "stew", + "unittest2" + ], + "checksums": { + "sha1": "7a3ddd118b1f5eecd413a2effcc289cd19cb812e" + } + }, + "chronos": { + "version": "3.0.11", + "vcsRevision": "87197230779002a2bfa8642f0e2ae07e2349e304", + "url": "https://github.com/status-im/nim-chronos", + "downloadMethod": "git", + "dependencies": [ + "stew", + "bearssl", + "httputils", + "unittest2" + ], + "checksums": { + "sha1": "badd688fa1121e2685e7927e0f2f4fe62a0ed62e" + } + } + } +} \ No newline at end of file