-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: typo in
gu
post-install actions
- fix: `startsWith` should be `startswith` - test: update `components-ce` test to include component usage Thank you to @mantasindrasius! Signed-off-by: Sam Gammon <sam@elide.ventures>
- Loading branch information
1 parent
ef1cf4f
commit a571524
Showing
6 changed files
with
239 additions
and
224 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -1 +1,3 @@ | ||
build --enable_bzlmod | ||
build --java_runtime_version=graalvm_20 | ||
build --tool_java_runtime_version=graalvm_20 |
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
438 changes: 218 additions & 220 deletions
438
example/integration_tests/components-ce/MODULE.bazel.lock
Large diffs are not rendered by default.
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
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 |
---|---|---|
@@ -1,5 +1,17 @@ | ||
import org.graalvm.polyglot.Context; | ||
|
||
import java.io.BufferedOutputStream; | ||
import java.io.OutputStream; | ||
|
||
|
||
public class Main { | ||
public static void main(String args[]) { | ||
System.out.println("Hello, GraalVM!"); | ||
OutputStream myOut = new BufferedOutputStream(System.out); | ||
Context context = Context.newBuilder("js") | ||
.out(myOut) | ||
.allowAllAccess(true) | ||
.build(); | ||
context.eval("js", "42"); | ||
context.close(); | ||
} | ||
} | ||
} |
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