From 358f26778dd52d7b06d94c20facc19701dfe0591 Mon Sep 17 00:00:00 2001 From: Andres Almiray Date: Sun, 5 Jan 2025 12:47:41 +0100 Subject: [PATCH] Add Nim example --- docs/modules/ROOT/pages/index.adoc | 1 + docs/modules/examples/nav.adoc | 1 + .../modules/examples/pages/miscellaneous/index.adoc | 1 + docs/modules/examples/pages/miscellaneous/nim.adoc | 13 +++++++++++++ 4 files changed, 16 insertions(+) create mode 100644 docs/modules/examples/pages/miscellaneous/nim.adoc diff --git a/docs/modules/ROOT/pages/index.adoc b/docs/modules/ROOT/pages/index.adoc index 5fa0b1b41..cd9417ddb 100644 --- a/docs/modules/ROOT/pages/index.adoc +++ b/docs/modules/ROOT/pages/index.adoc @@ -24,6 +24,7 @@ Examples of non-Java projects: * xref:examples:miscellaneous/elixir.adoc[] * xref:examples:miscellaneous/go.adoc[] * xref:examples:miscellaneous/haskell.adoc[] + * xref:examples:miscellaneous/nim.adoc[] * xref:examples:miscellaneous/perl.adoc[] * xref:examples:miscellaneous/rust-cross-platform.adoc[] * xref:examples:miscellaneous/swift.adoc[] diff --git a/docs/modules/examples/nav.adoc b/docs/modules/examples/nav.adoc index 412b61cc7..abd76cea8 100644 --- a/docs/modules/examples/nav.adoc +++ b/docs/modules/examples/nav.adoc @@ -27,6 +27,7 @@ *** xref:miscellaneous/elixir.adoc[] *** xref:miscellaneous/go.adoc[] *** xref:miscellaneous/haskell.adoc[] +*** xref:miscellaneous/nim.adoc[] *** xref:miscellaneous/perl.adoc[] *** xref:miscellaneous/rust-cross-platform.adoc[] *** xref:miscellaneous/swift.adoc[] diff --git a/docs/modules/examples/pages/miscellaneous/index.adoc b/docs/modules/examples/pages/miscellaneous/index.adoc index b642d9618..442d5883e 100644 --- a/docs/modules/examples/pages/miscellaneous/index.adoc +++ b/docs/modules/examples/pages/miscellaneous/index.adoc @@ -10,6 +10,7 @@ * xref:miscellaneous/elixir.adoc[] * xref:miscellaneous/go.adoc[] * xref:miscellaneous/haskell.adoc[] +* xref:miscellaneous/nim.adoc[] * xref:miscellaneous/perl.adoc[] * xref:miscellaneous/rust-cross-platform.adoc[] * xref:miscellaneous/swift.adoc[] diff --git a/docs/modules/examples/pages/miscellaneous/nim.adoc b/docs/modules/examples/pages/miscellaneous/nim.adoc new file mode 100644 index 000000000..7f91e218e --- /dev/null +++ b/docs/modules/examples/pages/miscellaneous/nim.adoc @@ -0,0 +1,13 @@ += Helloworld in Nim + +The link:https://github.com/jreleaser/helloworld-nim[] repository shows the configuration and steps to: + + - Compile a helloworld app for the following targets: + ** `linux-x86_64` + ** `osx-x86_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].