Skip to content

Commit e6f32fd

Browse files
committed
Add Odin example
1 parent 358f267 commit e6f32fd

File tree

4 files changed

+17
-0
lines changed

4 files changed

+17
-0
lines changed

docs/modules/ROOT/pages/index.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ Examples of non-Java projects:
2525
* xref:examples:miscellaneous/go.adoc[]
2626
* xref:examples:miscellaneous/haskell.adoc[]
2727
* xref:examples:miscellaneous/nim.adoc[]
28+
* xref:examples:miscellaneous/odin.adoc[]
2829
* xref:examples:miscellaneous/perl.adoc[]
2930
* xref:examples:miscellaneous/rust-cross-platform.adoc[]
3031
* xref:examples:miscellaneous/swift.adoc[]

docs/modules/examples/nav.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
*** xref:miscellaneous/go.adoc[]
2929
*** xref:miscellaneous/haskell.adoc[]
3030
*** xref:miscellaneous/nim.adoc[]
31+
*** xref:miscellaneous/odin.adoc[]
3132
*** xref:miscellaneous/perl.adoc[]
3233
*** xref:miscellaneous/rust-cross-platform.adoc[]
3334
*** xref:miscellaneous/swift.adoc[]

docs/modules/examples/pages/miscellaneous/index.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
* xref:miscellaneous/go.adoc[]
1212
* xref:miscellaneous/haskell.adoc[]
1313
* xref:miscellaneous/nim.adoc[]
14+
* xref:miscellaneous/odin.adoc[]
1415
* xref:miscellaneous/perl.adoc[]
1516
* xref:miscellaneous/rust-cross-platform.adoc[]
1617
* xref:miscellaneous/swift.adoc[]
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
= Helloworld in Odin
2+
3+
The link:https://github.com/jreleaser/helloworld-odin[] repository shows the configuration and steps to:
4+
5+
- Compile a helloworld app for the following targets:
6+
** `osx-aarch_64`
7+
** `osx-x86_64`
8+
** `linux-x86_64`
9+
** `windows-x86_64`
10+
- Assemble zip distributions with JReleaser
11+
- Create rolling early-access releases with JReleaser on every push to `main` branch
12+
13+
IMPORTANT: JReleaser requires 2 additional inputs that may be set as environment variables, `JRELEASER_PROJECT_VERSION` and `JRELEASER_GITHUB_TOKEN`.
14+
More information about environment variable configuration may be found xref:reference:environment.adoc[here].

0 commit comments

Comments
 (0)