Browse Source

fix(tool): Fix building app in docker

Signed-off-by: jld3103 <jld3103yt@gmail.com>
pull/580/head
jld3103 1 year ago
parent
commit
8c785cd9a0
No known key found for this signature in database
GPG Key ID: 9062417B9E8EB7B3
  1. 2
      tool/build-app.sh

2
tool/build-app.sh

@ -45,7 +45,7 @@ if [[ "$target" == "linux/arm64" ]] || [[ "$target" == "linux/amd64" ]]; then
./tool/build
run_args=()
for path in packages/{app,dynamite/dynamite_runtime,file_icons,nextcloud,settings,sort_box}/{lib,pubspec.yaml} packages/neon/*/{assets,lib,pubspec.yaml,pubspec_overrides.yaml} packages/file_icons/fonts packages/nextcloud/pubspec_overrides.yaml packages/app/{pubspec_overrides.yaml,assets,build,linux}; do
for path in packages/{app,dynamite/dynamite_runtime,file_icons,neon_lints,nextcloud,sort_box}/{lib,pubspec.yaml} packages/neon/*/{assets,lib,pubspec.yaml,pubspec_overrides.yaml} packages/file_icons/fonts packages/nextcloud/pubspec_overrides.yaml packages/app/{pubspec_overrides.yaml,assets,build,linux}; do
run_args+=(-v "$(pwd)/$path:/src/$path")
done
mkdir -p "packages/app/build"

Loading…
Cancel
Save