api-tuner 0.2.4 → 0.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -1
- package/bin/tuner.sh +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -27,13 +27,14 @@
|
|
|
27
27
|
Usage: api-tuner [options] <path>...
|
|
28
28
|
|
|
29
29
|
Options:
|
|
30
|
-
--lib <path> Specify rules to include in all tests
|
|
30
|
+
--lib <path> Specify rules to include in all tests. Can be used multiple times. Make sure to surround globs in quotes to prevent expansion.
|
|
31
31
|
--silent Less output
|
|
32
32
|
--debug Enable debug output
|
|
33
33
|
--raw Output raw results from eye
|
|
34
34
|
--base-iri <iri> Specify the base IRI for parsing the test case files
|
|
35
35
|
--version Show version information
|
|
36
36
|
--help Show this help message
|
|
37
|
+
|
|
37
38
|
```
|
|
38
39
|
|
|
39
40
|
## Example
|
package/bin/tuner.sh
CHANGED
|
@@ -15,7 +15,7 @@ function version() {
|
|
|
15
15
|
echo "Usage: api-tuner [options] <path>..."
|
|
16
16
|
echo ""
|
|
17
17
|
echo "Options:"
|
|
18
|
-
echo " --lib <path> Specify rules to include in all tests"
|
|
18
|
+
echo " --lib <path> Specify rules to include in all tests. Can be used multiple times. Make sure to surround globs in quotes to prevent expansion."
|
|
19
19
|
echo " --silent Less output"
|
|
20
20
|
echo " --debug Enable debug output"
|
|
21
21
|
echo " --raw Output raw results from eye"
|
|
@@ -90,6 +90,6 @@ set -o pipefail
|
|
|
90
90
|
for path in "${PATHS[@]}"; do
|
|
91
91
|
(
|
|
92
92
|
node "${SCRIPT_PATH}/../lib/parse-test-case.js" --base-iri "$BASE_IRI" -- "${path}" \
|
|
93
|
-
| $eye $ARGS "${SCRIPT_PATH}"/../rules/*.n3 ${LIBS[@]
|
|
93
|
+
| $eye $ARGS "${SCRIPT_PATH}"/../rules/*.n3 ${LIBS[@]:+${LIBS[*]}} -
|
|
94
94
|
) ;
|
|
95
95
|
done | $SUMMARY
|