From 67707b389dd7ad8f01c7b74c0a2ac06223720dc9 Mon Sep 17 00:00:00 2001 From: Joachim Schirrmacher Date: Sat, 20 Nov 2021 11:37:07 +0000 Subject: [PATCH] Almost works in dev container --- .gitignore | 2 ++ .gitmodules | 3 +++ docToolchain | 1 + generateHTML.sh | 16 +++++----------- gradlew | 0 5 files changed, 11 insertions(+), 11 deletions(-) create mode 100644 .gitmodules create mode 160000 docToolchain mode change 100644 => 100755 generateHTML.sh mode change 100644 => 100755 gradlew diff --git a/.gitignore b/.gitignore index 9eada54..a4acf9d 100644 --- a/.gitignore +++ b/.gitignore @@ -35,3 +35,5 @@ Cargo.lock # Ignore IntelliJ IDEA stuff .idea *.iml + +/docToolchain/ diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..4aee1c8 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "docToolchain"] + path = docToolchain + url = https://github.com/docToolchain/docToolchain.git diff --git a/docToolchain b/docToolchain new file mode 160000 index 0000000..31637a1 --- /dev/null +++ b/docToolchain @@ -0,0 +1 @@ +Subproject commit 31637a1b13eaab284a41b0c31ed06c842aaa1238 diff --git a/generateHTML.sh b/generateHTML.sh old mode 100644 new mode 100755 index 9e0a37e..a1cb106 --- a/generateHTML.sh +++ b/generateHTML.sh @@ -1,14 +1,8 @@ ./gradlew clean -cd docs -mkdir groovy -cd groovy -wget https://bintray.com/artifact/download/groovy/maven/apache-groovy-binary-2.5.4.zip -unzip apache-groovy-binary-2.5.4.zip -pwd -cd .. -pwd -./generateIndex.groovy -cd .. -pwd +curl -s "https://get.sdkman.io" | bash +source "/home/vscode/.sdkman/bin/sdkman-init.sh" +sdk install java +sdk install groovy +./src/docs/generateIndex.groovy ./gradlew generateHTML echo 0 \ No newline at end of file diff --git a/gradlew b/gradlew old mode 100644 new mode 100755