-
-
Save maxandersen/00db676cc6ebc677074b98f460764142 to your computer and use it in GitHub Desktop.
Tests for JBang - Multiple Files
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class file4 { | |
public static void main(String[] args) { | |
System.out.println("I'm file 4"); | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class file5 { | |
public static void main(String[] args) { | |
System.out.println("I'm file 5"); | |
System.out.println("dash-test"); | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
///usr/bin/env jbang "$0" "$@" ; exit $? | |
class file1 { | |
public static void main(String[] args) { | |
System.out.println("I'm file 1"); | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
///usr/bin/env jbang "$0" "$@" ; exit $? | |
class file2 { | |
public static void main(String[] args) { | |
System.out.println("I'm file 2"); | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
System.out.println("Test jsh extension"); | |
System.out.println("I'm file 3"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
System.out.println("I have a dash in filename."); | |
System.out.println("I'm java shell script"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment