-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
17 lines (15 loc) · 832 Bytes
/
Makefile
File metadata and controls
17 lines (15 loc) · 832 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
build-android:
npm run build
rm -rf ./android/app/src/main/assets/*
cp -r ./dist ./android/app/src/main/assets
build-android-powershell:
npm run build
powershell -Command "New-Item -ItemType Directory -Force -Path ./android/app/src/main/assets"
powershell -Command "Remove-Item -Path ./android/app/src/main/assets/* -Recurse -Force"
powershell -Command "Copy-Item -Path ./dist/* -Destination ./android/app/src/main/assets -Recurse -Force"
build-apk-powershell:
npm run build
powershell -Command "New-Item -ItemType Directory -Force -Path ./android/app/src/main/assets"
powershell -Command "Remove-Item -Path ./android/app/src/main/assets/* -Recurse -Force"
powershell -Command "Copy-Item -Path ./dist/* -Destination ./android/app/src/main/assets -Recurse -Force"
docker compose -f .\compose.yml run --rm build-android