Files
flutter-sunset-alarm/compile.sh
T
2026-09-24 09:44:53 -07:00

24 lines
503 B
Bash
Executable File

#!/usr/bin/env bash
# 20260913 - Hyperling
# 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
echo -e "\nBuilding Linux..."
flutter build linux
zip -r release/linux-bundle.zip build/linux/x64/release/bundle/*
echo -e "\nCleaning..."
flutter clean
echo -e "\nBuilding APK..."
flutter build apk
cp -v build/app/outputs/flutter-apk/app-release.apk release/
echo -e "\nCleaning..."
flutter clean