From 8da2026e01e12c05907a01aa185ba3aa2ad8abc3 Mon Sep 17 00:00:00 2001 From: Andres Almiray Date: Sun, 5 Jan 2025 20:44:35 +0100 Subject: [PATCH] Add Deno example --- docs/modules/ROOT/pages/index.adoc | 1 + docs/modules/examples/nav.adoc | 1 + .../examples/pages/miscellaneous/deno.adoc | 15 +++++++++++++++ .../examples/pages/miscellaneous/index.adoc | 1 + 4 files changed, 18 insertions(+) create mode 100644 docs/modules/examples/pages/miscellaneous/deno.adoc diff --git a/docs/modules/ROOT/pages/index.adoc b/docs/modules/ROOT/pages/index.adoc index 59dcbfc3c..c8bfc0d6d 100644 --- a/docs/modules/ROOT/pages/index.adoc +++ b/docs/modules/ROOT/pages/index.adoc @@ -21,6 +21,7 @@ Examples of non-Java projects: * xref:examples:miscellaneous/cpp.adoc[] * xref:examples:miscellaneous/crystal.adoc[] * xref:examples:miscellaneous/csharp-cross-platform.adoc[] + * xref:examples:miscellaneous/deno.adoc[] * xref:examples:miscellaneous/elixir.adoc[] * xref:examples:miscellaneous/go.adoc[] * xref:examples:miscellaneous/haskell.adoc[] diff --git a/docs/modules/examples/nav.adoc b/docs/modules/examples/nav.adoc index 83479033b..908225d5b 100644 --- a/docs/modules/examples/nav.adoc +++ b/docs/modules/examples/nav.adoc @@ -24,6 +24,7 @@ *** xref:miscellaneous/cpp.adoc[] *** xref:miscellaneous/crystal.adoc[] *** xref:miscellaneous/csharp-cross-platform.adoc[] +*** xref:miscellaneous/deno.adoc[] *** xref:miscellaneous/elixir.adoc[] *** xref:miscellaneous/go.adoc[] *** xref:miscellaneous/haskell.adoc[] diff --git a/docs/modules/examples/pages/miscellaneous/deno.adoc b/docs/modules/examples/pages/miscellaneous/deno.adoc new file mode 100644 index 000000000..0147e36b8 --- /dev/null +++ b/docs/modules/examples/pages/miscellaneous/deno.adoc @@ -0,0 +1,15 @@ += Helloworld in Deno + +The link:https://github.com/jreleaser/helloworld-deno[] repository shows the configuration and steps to: + + - Compile a helloworld app for the following targets: + ** `osx-aarch_64` + ** `osx-x86_64` + ** `linux-x86_64` + ** `linux-aarch_64` + ** `windows-x86_64` + - Assemble zip distributions with JReleaser + - Create rolling early-access releases with JReleaser on every push to `main` branch + +IMPORTANT: JReleaser requires 2 additional inputs that may be set as environment variables, `JRELEASER_PROJECT_VERSION` and `JRELEASER_GITHUB_TOKEN`. +More information about environment variable configuration may be found xref:reference:environment.adoc[here]. diff --git a/docs/modules/examples/pages/miscellaneous/index.adoc b/docs/modules/examples/pages/miscellaneous/index.adoc index 392584e08..c625b260f 100644 --- a/docs/modules/examples/pages/miscellaneous/index.adoc +++ b/docs/modules/examples/pages/miscellaneous/index.adoc @@ -7,6 +7,7 @@ * xref:miscellaneous/cpp.adoc[] * xref:miscellaneous/crystal.adoc[] * xref:miscellaneous/csharp-cross-platform.adoc[] +* xref:miscellaneous/deno.adoc[] * xref:miscellaneous/elixir.adoc[] * xref:miscellaneous/go.adoc[] * xref:miscellaneous/haskell.adoc[]