Skip to content
This repository was archived by the owner on Dec 4, 2024. It is now read-only.

Commit 79f2c17

Browse files
Add clarinet check step to romeo test script (#247)
* Add clarinet check step to romeo test script * exit on failure and add comments
1 parent 8f4ec08 commit 79f2c17

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

  • romeo/asset-contract/scripts
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,18 @@
11
#!/bin/sh
2+
3+
# Setup directories.
24
mkdir -p .test
35
mkdir -p .coverage
46
rm -r .test/*
7+
8+
# Exit on next failure.
9+
set -e
10+
11+
# Verify syntax.
12+
clarinet check
13+
14+
# Generate tests.
515
clarinet run --allow-write --allow-read ext/generate-tests.ts
16+
17+
# Test with coverage.
618
clarinet test --coverage .coverage/lcov.info .test

0 commit comments

Comments
 (0)