Browse Source

Always build openapi-generator when generating nextcloud clients

pull/29/head
jld3103 2 years ago
parent
commit
11d583635d
No known key found for this signature in database
GPG Key ID: 9062417B9E8EB7B3
  1. 5
      tool/generate-nextcloud.sh
  2. 6
      tool/install.sh

5
tool/generate-nextcloud.sh

@ -94,6 +94,11 @@ function spec_templates_generate() {
fvm dart packages/spec_templates/bin/generate.dart "$appdir" "$is_core" fvm dart packages/spec_templates/bin/generate.dart "$appdir" "$is_core"
} }
(
cd external/openapi-generator
./mvnw package -DskipTests -Dmaven.test.skip=true
)
rm -rf /tmp/nextcloud-neon rm -rf /tmp/nextcloud-neon
mkdir -p /tmp/nextcloud-neon mkdir -p /tmp/nextcloud-neon

6
tool/install.sh

@ -6,9 +6,5 @@ git submodule init
git submodule update git submodule update
fvm dart pub global activate mono_repo 6.3.0 fvm dart pub global activate mono_repo 6.3.0
fvm dart pub global activate fvm 2.4.1 fvm dart pub global activate fvm 2.4.1
fvm install yes | fvm install
(
cd external/openapi-generator
./mvnw package -DskipTests -Dmaven.test.skip=true
)
fvm exec mono_repo pub get fvm exec mono_repo pub get

Loading…
Cancel
Save