mirror of
https://github.com/go-vikunja/app
synced 2024-11-07 21:40:01 +00:00
JonasFranz
6c0762d458
Remove pipeline for feature/ios Merge branch 'master' of ssh://git.kolaente.de:9022/vikunja/app into feature/ios Fix CI Add keychain pw ensure keychain Disable code signing while building Fix CI Merge branch 'feature/ios' of ssh://git.kolaente.de:9022/vikunja/app into feature/ios Add keychain password Merge branch 'master' into feature/ios Add compliance Add secrets Remove build app step Use other version Set Utf8 Fix CI Fix CI Fix beta deployment Add deploy step Fix CI Fix CI Fix ci fix ci fix ci test ci fix ci Fix keychain Fix keychain Use custom keychain Add security unlock Add MATCH_PASSWORD Add match Add fastlane Add ios pipeline to build Add ios pipeline to build Co-authored-by: Jonas Franz <info@jonasfranz.software> Co-authored-by: Buildslave <buildslave@macmini.fritz.box> Reviewed-on: vikunja/app#42 Reviewed-by: konrad <konrad@kola-entertainments.de>
45 lines
1.0 KiB
Makefile
45 lines
1.0 KiB
Makefile
GIT_LAST_COMMIT := $(shell git describe --tags --always | sed 's/-/+/' | sed 's/^v//')
|
|
FLUTTER ?= flutter
|
|
|
|
ifneq ($(DRONE_BUILD_NUMBER),)
|
|
VERSION ?= $(DRONE_BUILD_NUMBER)
|
|
else
|
|
VERSION ?= 1
|
|
endif
|
|
|
|
.PHONY: test
|
|
test:
|
|
$(FLUTTER) test
|
|
|
|
.PHONY: build-all
|
|
build-all: build-release build-debug build-profile
|
|
|
|
.PHONY: build-release
|
|
build-release:
|
|
$(FLUTTER) build apk --release --build-number=$(VERSION) --flavor main
|
|
|
|
.PHONY: build-debug
|
|
build-debug:
|
|
$(FLUTTER) build apk --debug --build-number=$(VERSION) --flavor unsigned
|
|
|
|
.PHONY: build-profile
|
|
build-profile:
|
|
$(FLUTTER) build apk --profile --build-number=$(VERSION) --flavor unsigned
|
|
|
|
.PHONY: build-ios
|
|
build-ios:
|
|
$(FLUTTER) build ios --release --build-number=$(VERSION) --no-codesign
|
|
|
|
.PHONY: format
|
|
format:
|
|
$(FLUTTER) format lib
|
|
|
|
.PHONY: format-check
|
|
format-check:
|
|
@diff=$$(flutter format -n lib); \
|
|
if [ -n "$$diff" ]; then \
|
|
echo "The following files are not formatted correctly:"; \
|
|
echo "$${diff}"; \
|
|
echo "Please run 'make format' and commit the result."; \
|
|
exit 1; \
|
|
fi;
|