Fix the build vs compile scrips to be compile.
This commit is contained in:
1 parent
6586398db6
commit
09fdcea0f9
1 file changed
+9
-1
Executable → Regular
+9
-1
@@ -2,14 +2,22 @@
|
|||||||
# 20260913 - Hyperling
|
# 20260913 - Hyperling
|
||||||
# Build the project and add them to a releases folder.
|
# Build the project and add them to a releases folder.
|
||||||
|
|
||||||
|
# TODO
|
||||||
|
# create dir name release-${version} to store these in,
|
||||||
|
|
||||||
|
echo -e "\nCleaning..."
|
||||||
flutter clean
|
flutter clean
|
||||||
|
|
||||||
|
echo -e "\nBuilding Linux..."
|
||||||
flutter build linux
|
flutter build linux
|
||||||
zip -r release/linux-bundle.zip build/linux/x64/release/bundle/*
|
zip -r release/linux-bundle.zip build/linux/x64/release/bundle/*
|
||||||
|
|
||||||
|
echo -e "\nCleaning..."
|
||||||
flutter clean
|
flutter clean
|
||||||
|
|
||||||
|
echo -e "\nBuilding APK..."
|
||||||
flutter build apk
|
flutter build apk
|
||||||
cp build/app/outputs/flutter-apk/app-release.apk release/
|
cp -v build/app/outputs/flutter-apk/app-release.apk release/
|
||||||
|
|
||||||
|
echo -e "\nCleaning..."
|
||||||
flutter clean
|
flutter clean
|
||||||
Reference in new issue
Block a user