-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
BuildTools
committed
Apr 28, 2021
1 parent
3e7bc10
commit 1e77032
Showing
21 changed files
with
409 additions
and
703 deletions.
There are no files selected for viewing
13 changes: 0 additions & 13 deletions
13
.idea/libraries/Maven__com_google_code_gson_gson_2_8_1.xml
This file was deleted.
Oops, something went wrong.
13 changes: 0 additions & 13 deletions
13
.idea/libraries/Maven__com_moandjiezana_toml_toml4j_0_7_2.xml
This file was deleted.
Oops, something went wrong.
13 changes: 0 additions & 13 deletions
13
.idea/libraries/Maven__commons_logging_commons_logging_1_2.xml
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
println(_out_dir); | ||
|
||
println(_ctx); | ||
|
||
println(__.randomGUID()); | ||
|
||
return 1; |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
print(_out_dir) | ||
|
||
print(_ctx) | ||
|
||
print(__.randomGUID()) | ||
|
||
_result = 1 |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,4 @@ println(_out_dir); | |
|
||
println(_ctx); | ||
|
||
return 1; |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import com.github.terefang.template_cli.TemplateCliMain; | ||
|
||
public class TestScripting { | ||
static String[] ARGS = { | ||
"-T", "SCRIPT", "-M", "SCRIPT", | ||
"-D", "examples/", | ||
"-S", "examples/script.py", | ||
"--additional-context-file", "examples/data.pdx", | ||
"--additional-variables", "_out_dir=examples" }; | ||
public static void main(String[] args) { | ||
TemplateCliMain.main(ARGS); | ||
} | ||
static String[] ARGS2 = { | ||
"-T", "SCRIPT", "-M", "SCRIPT", | ||
"-D", "examples/", | ||
"-S", "examples/script.groovy", | ||
"--additional-context-file", "examples/data.pdx", | ||
"--additional-variables", "_out_dir=examples" }; | ||
public static void main2(String[] args) { | ||
TemplateCliMain.main(ARGS); | ||
} | ||
} |
Oops, something went wrong.