Last active
May 31, 2021 17:29
-
-
Save lukepighetti/c6be2793837c6458078abb965d432c81 to your computer and use it in GitHub Desktop.
Basic Flutter Makefile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
VERSION = 1.0.0 | |
BUILD = 8 | |
CHANGELOG = Added item counts and a celebration when a list is completed. | |
.PHONY: clean test build distribute | |
clean: | |
flutter clean | |
flutter pub get | |
pod repo update | |
( cd ios && pod install ) | |
test: | |
flutter analyze | |
flutter format --dry-run --set-exit-if-changed test lib | |
flutter test | |
build: | |
flutter build ios --build-name $(VERSION) --build-number $(BUILD) | |
distribute: clean test build | |
( cd ios && fastlane ios external CHANGELOG:"$(CHANGELOG)" ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment