-
Notifications
You must be signed in to change notification settings - Fork 758
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
1 parent
e756dc1
commit 6828000
Showing
26 changed files
with
94 additions
and
0 deletions.
There are no files selected for viewing
Binary file added
BIN
+5.98 KB
....0/java17/compiler-plugin/libs/compiler-plugin-with-analyzer-generator-modifier-1.0.0.jar
Binary file not shown.
Binary file added
BIN
+3.84 KB
...al/bala/gayaldassanayake/tool_gayal/1.1.0/java17/tool/libs/GayalsCommand-1.0-SNAPSHOT.jar
Binary file not shown.
Binary file added
BIN
+5.98 KB
....0/java17/compiler-plugin/libs/compiler-plugin-with-analyzer-generator-modifier-1.0.0.jar
Binary file not shown.
Binary file added
BIN
+3.84 KB
...al/bala/gayaldassanayake/tool_gayal/1.2.0/java17/tool/libs/GayalsCommand-1.0-SNAPSHOT.jar
Binary file not shown.
Binary file added
BIN
+5.98 KB
....0/java17/compiler-plugin/libs/compiler-plugin-with-analyzer-generator-modifier-1.0.0.jar
Binary file not shown.
Binary file added
BIN
+3.84 KB
...al/bala/gayaldassanayake/tool_gayal/1.3.0/java17/tool/libs/GayalsCommand-1.0-SNAPSHOT.jar
Binary file not shown.
Binary file added
BIN
+5.98 KB
....4/java17/compiler-plugin/libs/compiler-plugin-with-analyzer-generator-modifier-1.0.0.jar
Binary file not shown.
Binary file added
BIN
+2.28 KB
...al/bala/gayaldassanayake/tool_gayal/2.2.4/java17/tool/libs/GayalsCommand-1.0-SNAPSHOT.jar
Binary file not shown.
Binary file added
BIN
+5.98 KB
....5/java17/compiler-plugin/libs/compiler-plugin-with-analyzer-generator-modifier-1.0.0.jar
Binary file not shown.
Binary file added
BIN
+3.84 KB
...al/bala/gayaldassanayake/tool_gayal/2.2.5/java17/tool/libs/GayalsCommand-1.0-SNAPSHOT.jar
Binary file not shown.
Binary file added
BIN
+6 KB
cli/ballerina-cli/src/test/resources/test-resources/tool-gayals/.DS_Store
Binary file not shown.
4 changes: 4 additions & 0 deletions
4
cli/ballerina-cli/src/test/resources/test-resources/tool-gayals/.devcontainer.json
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,4 @@ | ||
{ | ||
"image": "ballerina/ballerina-devcontainer:2201.4.0", | ||
"extensions": ["WSO2.ballerina"], | ||
} |
3 changes: 3 additions & 0 deletions
3
cli/ballerina-cli/src/test/resources/test-resources/tool-gayals/.gitignore
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,3 @@ | ||
target | ||
generated | ||
Config.toml |
5 changes: 5 additions & 0 deletions
5
cli/ballerina-cli/src/test/resources/test-resources/tool-gayals/BalTool.toml
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,5 @@ | ||
[tool] | ||
id = "gayals" # should be the same as Picocli command name | ||
|
||
[[dependency]] | ||
path = "./tool/libs/GayalsCommand-1.0-SNAPSHOT.jar" |
8 changes: 8 additions & 0 deletions
8
cli/ballerina-cli/src/test/resources/test-resources/tool-gayals/Ballerina.toml
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,8 @@ | ||
[package] | ||
org = "gayaldassanayake" | ||
name = "tool_gayal" | ||
version = "1.1.0" | ||
distribution = "2201.4.0" | ||
|
||
[build-options] | ||
observabilityIncluded = true |
6 changes: 6 additions & 0 deletions
6
cli/ballerina-cli/src/test/resources/test-resources/tool-gayals/CompilerPlugin.toml
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,6 @@ | ||
[plugin] | ||
class = "io.gayal.combined.CombinedCompilerPlugin" | ||
|
||
[[dependency]] | ||
path = "./tool/libs/compiler-plugin-with-analyzer-generator-modifier-1.0.0.jar" | ||
|
45 changes: 45 additions & 0 deletions
45
cli/ballerina-cli/src/test/resources/test-resources/tool-gayals/Dependencies.toml
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,45 @@ | ||
# AUTO-GENERATED FILE. DO NOT MODIFY. | ||
|
||
# This file is auto-generated by Ballerina for managing dependency versions. | ||
# It should not be modified by hand. | ||
|
||
[ballerina] | ||
dependencies-toml-version = "2" | ||
distribution-version = "2201.9.0-SNAPSHOT" | ||
|
||
[[package]] | ||
org = "ballerina" | ||
name = "io" | ||
version = "1.6.0" | ||
dependencies = [ | ||
{org = "ballerina", name = "jballerina.java"}, | ||
{org = "ballerina", name = "lang.value"} | ||
] | ||
modules = [ | ||
{org = "ballerina", packageName = "io", moduleName = "io"} | ||
] | ||
|
||
[[package]] | ||
org = "ballerina" | ||
name = "jballerina.java" | ||
version = "0.0.0" | ||
|
||
[[package]] | ||
org = "ballerina" | ||
name = "lang.value" | ||
version = "0.0.0" | ||
dependencies = [ | ||
{org = "ballerina", name = "jballerina.java"} | ||
] | ||
|
||
[[package]] | ||
org = "gayaldassanayake" | ||
name = "tool_gayal" | ||
version = "1.1.0" | ||
dependencies = [ | ||
{org = "ballerina", name = "io"} | ||
] | ||
modules = [ | ||
{org = "gayaldassanayake", packageName = "tool_gayal", moduleName = "tool_gayal"} | ||
] | ||
|
4 changes: 4 additions & 0 deletions
4
cli/ballerina-cli/src/test/resources/test-resources/tool-gayals/Package.md
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,4 @@ | ||
# Gayals Tool | ||
|
||
1. Run `bal pack` with the provided ballerina distribution pack | ||
2. Extract the .bala file to `~.ballerina/repositories/central.ballerina.io/bala/ballerina/gayalstool/0.1.0/any/` |
4 changes: 4 additions & 0 deletions
4
cli/ballerina-cli/src/test/resources/test-resources/tool-gayals/README.md
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,4 @@ | ||
# Gayals Tool | ||
|
||
1. Run `bal pack` with the provided ballerina distribution pack | ||
2. Extract the .bala file to `~.ballerina/repositories/central.ballerina.io/bala/ballerina/gayalstool/0.1.0/any/` |
5 changes: 5 additions & 0 deletions
5
cli/ballerina-cli/src/test/resources/test-resources/tool-gayals/main.bal
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,5 @@ | ||
import ballerina/io; | ||
|
||
public function main() { | ||
io:println("Hello, World!"); | ||
} |
Binary file added
BIN
+6 KB
cli/ballerina-cli/src/test/resources/test-resources/tool-gayals/target-dir/.DS_Store
Binary file not shown.
Binary file added
BIN
+5.98 KB
...-dir/bala/compiler-plugin/libs/compiler-plugin-with-analyzer-generator-modifier-1.0.0.jar
Binary file not shown.
Binary file added
BIN
+10.4 KB
.../test-resources/tool-gayals/target-dir/bala/gayaldassanayake-tool_gayal-java17-1.1.0.bala
Binary file not shown.
10 changes: 10 additions & 0 deletions
10
cli/ballerina-cli/src/test/resources/test-resources/tool-gayals/test.json
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,10 @@ | ||
{ | ||
"gayals": { | ||
"org": "org.gayals", | ||
"name": "gayals" | ||
}, | ||
"gayals2": { | ||
"org": "org.gayals", | ||
"name": "gayals" | ||
} | ||
} |
Binary file added
BIN
+3.84 KB
...li/src/test/resources/test-resources/tool-gayals/tool/libs/GayalsCommand-1.0-SNAPSHOT.jar
Binary file not shown.
Binary file added
BIN
+5.98 KB
...esources/tool-gayals/tool/libs/compiler-plugin-with-analyzer-generator-modifier-1.0.0.jar
Binary file not shown.