Skip to content

Commit

Permalink
Add Nim example
Browse files Browse the repository at this point in the history
  • Loading branch information
aalmiray committed Jan 5, 2025
1 parent c42db5e commit 358f267
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/modules/ROOT/pages/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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[]
Expand Down
1 change: 1 addition & 0 deletions docs/modules/examples/nav.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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[]
Expand Down
1 change: 1 addition & 0 deletions docs/modules/examples/pages/miscellaneous/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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[]
Expand Down
13 changes: 13 additions & 0 deletions docs/modules/examples/pages/miscellaneous/nim.adoc
Original file line number Diff line number Diff line change
@@ -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].

0 comments on commit 358f267

Please sign in to comment.