Skip to content

Commit 967f679

Browse files
committed
added docs about dynamic dependency testing
1 parent 686ef0a commit 967f679

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

test/TestsReadme.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,18 @@ export PATH=`echo ${PATH} | awk -v RS=: -v ORS=: '/kscript/ {next} {print}'`
5454

5555
For more examples see https://github.com/lehmannro/assert.sh/blob/master/tests.sh
5656

57+
58+
## Tests for dynamic dependencies
59+
60+
To allow for dynamic dependency resolution, dependencies need to be present in local `.m2` cache already. So before we can run
61+
```bash
62+
${KSCRIPT_HOME}/test/resources/depends_on_dynamic.kts
63+
```
64+
we need to resolve actual versions into the local cache with something like
65+
```bash
66+
${KSCRIPT_HOME}/test/resources/depends_on_maven_annot.kts
67+
```
68+
5769
## Notes
5870

5971
How to modulate PATH?

0 commit comments

Comments
 (0)