Skip to content

rossbacher/kscript-annotations

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Annotation directives for kscript

For details see https://github.com/holgerbrandl/kscript

Example

#!/usr/bin/env kscript

@file:DependsOn("de.mpicbg.scicomp:kutils:0.4")
@file:DependsOn("com.beust:klaxon:0.24", "com.github.kittinunf.fuel:fuel:1.3.1")


@file:Include("util.kt")

@file:EntryPoint("Foo.bar") // applies on for kt-files

// define kotlin options
@file:KotlinOpts("-J-Xmx5g")
@file:KotlinOpts("-J-server")


print("1+1")

About

Annotations to configure Kotlins scripts run with kscript

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Kotlin 58.7%
  • Shell 41.3%