Skip to content

Commit 9802d51

Browse files
committed
added invalid syntax scrip to test resources (relates to #349)
1 parent 564045a commit 9802d51

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

test/resources/invalid_script.kts

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#!/usr/bin/env kscript
2+
3+
@file:DependsOn("log4j:log4j:1.2.14")
4+
5+
// some pointless comment
6+
//
7+
//import org.docopt.Docopt
8+
//
9+
//// test the docopt dependency
10+
//val docopt = Docopt("Usage: jl <command> [options] [<joblist_file>]")
11+
//
12+
//// instantiate a logger to test the log4j dependency
13+
org.apache.log4j.Logger.getRootLogger(
14+
15+
println("kscript with annotations rocks!")

0 commit comments

Comments
 (0)