chore: create artifacts dir on run

This commit is contained in:
hulkoba 2023-12-18 08:52:03 +01:00
parent e43f924113
commit eadc867182
No known key found for this signature in database
GPG Key ID: ACB6C4A3A4F2BE2F
3 changed files with 2 additions and 2 deletions

2
.gitignore vendored
View File

@ -6,4 +6,4 @@ test/typescript/definitions.js
dist/ dist/
openpgp.store/ openpgp.store/
coverage coverage
test/fuzz/reports test/fuzz/artifacts

View File

@ -47,7 +47,7 @@
"prepare": "npm run build", "prepare": "npm run build",
"test": "mocha --timeout 120000 test/unittests.js", "test": "mocha --timeout 120000 test/unittests.js",
"test-type-definitions": "node --loader ts-node/esm test/typescript/definitions.ts", "test-type-definitions": "node --loader ts-node/esm test/typescript/definitions.ts",
"fuzz": "jazzer test/fuzz/$TARGET -- -artifact_prefix=test/fuzz/reports/", "fuzz": "mkdir -p test/fuzz/artifacts && jazzer test/fuzz/$TARGET -- -artifact_prefix=test/fuzz/artifacts/",
"benchmark-time": "node test/benchmarks/time.js", "benchmark-time": "node test/benchmarks/time.js",
"benchmark-memory-usage": "node test/benchmarks/memory_usage.js", "benchmark-memory-usage": "node test/benchmarks/memory_usage.js",
"start": "http-server", "start": "http-server",