Skip to content

Commit

Permalink
fixed typos
Browse files Browse the repository at this point in the history
  • Loading branch information
holgerbrandl committed Nov 14, 2017
1 parent 8b61fa4 commit 71a8600
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -275,8 +275,8 @@ Using annotations instead of comment directives to configure scripts is cleaner
@file:MavenRepository("imagej-releases","http://maven.imagej.net/content/repositories/releases" )

// For compatibility with https://github.com/ligee/kotlin-jupyter kscript supports also
// Note that for compatibility reasons, only one locator argument is allowed here
@file:DependsOnMaven("net.clearvolume:cleargl:2.0.1")
// Note that for compatibility reasons, only one locator argument is allowed for @DependsOnMaven


// Include helper scripts without deployment or prior compilation
Expand Down Expand Up @@ -342,15 +342,15 @@ Yes, (since v1.6) you can run kotlin source files through `kscript`. By default
However in case you're using a companion object to declare the entry point, you need to indicate this via the `//ENTRY` directive:


## Why does it fail to read my script file when using cygwin?
### Why does it fail to read my script file when using cygwin?

In order to use cygwin you need to use windows paths to provide your scripts. You can map cygwin paths using `cygpath`. Example
```bash
kscript $(cygpath -w /cygdrive/z/some/path/my_script.kts)
```


## Can I use custom artifact repositories?
### Can I use custom artifact repositories?

Yes, via the `@MavenRepository` annotation. See [annotations section](#annotation-driven-script-configuration) or [custom_mvn_repo_annot](test/resources/custom_mvn_repo_annot.kts) for a complete example

Expand Down

0 comments on commit 71a8600

Please sign in to comment.