Skip to content

Commit 2898b7a

Browse files
scralystephanemartin
authored andcommitted
feat: add a script that serve the marsjug website for preview/debugging purpose
1 parent c0375b7 commit 2898b7a

File tree

2 files changed

+17
-17
lines changed

2 files changed

+17
-17
lines changed

.gitpod.yml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
# This configuration file was automatically generated by Gitpod.
2-
# Please adjust to your needs (see https://www.gitpod.io/docs/introduction/learn-gitpod/gitpod-yaml)
3-
# and commit this file to your remote git repository to share the goodness with others.
4-
5-
# Learn more from ready-to-use templates: https://www.gitpod.io/docs/introduction/getting-started/quickstart
6-
71
tasks:
8-
- init: ./mvnw install -DskipTests=false
9-
10-
2+
- init: |
3+
curl -s "https://get.sdkman.io" | bash
4+
source "$HOME/.sdkman/bin/sdkman-init.sh"
5+
sdk install java 21.0.5-tem
6+
sdk install quarkus
7+
sdk install jbang
8+
jbang trust add https://github.com/quarkiverse/quarkus-roq/blob/HEAD/roq.java
9+
jbang app install --fresh --force roq@quarkiverse/quarkus-roq
10+
command: |
11+
quarkus build

preview.sh

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,13 @@
33
# if java version != 21
44

55
#prerequisites - install sdkman, java and quarkus
6-
curl -s "https://get.sdkman.io" | bash
7-
source "$HOME/.sdkman/bin/sdkman-init.sh"
8-
sdk version
9-
sdk install java 21.0.5-tem
10-
sdk install quarkus
11-
12-
curl -Ls https://sh.jbang.dev | bash -s - app setup
13-
jbang app install --verbose --fresh --force roq@quarkiverse/quarkus-roq
6+
# curl -s "https://get.sdkman.io" | bash
7+
# source "$HOME/.sdkman/bin/sdkman-init.sh"
8+
# sdk install java 21.0.5-tem
9+
# sdk install quarkus
10+
# sdk install jbang
11+
# jbang trust add https://github.com/quarkiverse/quarkus-roq/blob/HEAD/roq.java
12+
# jbang app install --verbose --fresh --force roq@quarkiverse/quarkus-roq
1413

1514
# generate static website to target/roq
1615
quarkus build

0 commit comments

Comments
 (0)