Skip to content

Commit

Permalink
[Android] Added common scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
Wolfteam committed May 14, 2023
1 parent 588158a commit 8dc3c69
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 14 deletions.
14 changes: 0 additions & 14 deletions CastIt.Android/build_android.sh

This file was deleted.

5 changes: 5 additions & 0 deletions CastIt.Android/run_build_android.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash
set -e

echo 'Creating android bundle...'
fvm flutter build appbundle
5 changes: 5 additions & 0 deletions CastIt.Android/run_build_ios.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash
set -e

echo 'Creating ios ipa...'
fvm flutter build ipa
5 changes: 5 additions & 0 deletions CastIt.Android/run_build_macos.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash
set -e

echo 'Creating macos app...'
fvm flutter build macos
14 changes: 14 additions & 0 deletions CastIt.Android/run_clean.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/bin/bash
set -e

echo 'Cleaning project...'
fvm flutter clean

echo 'Retrieving packages...'
fvm flutter pub get

echo 'Deleting conflicting outputs...'
fvm flutter pub run build_runner clean
fvm flutter pub run build_runner build --delete-conflicting-outputs

echo 'Clean completed'

0 comments on commit 8dc3c69

Please sign in to comment.