Provide build for iOS #42
24
.drone.yml
24
.drone.yml
|
@ -124,3 +124,27 @@ steps:
|
||||||
strip_prefix: apks/
|
strip_prefix: apks/
|
||||||
source: apks/*
|
source: apks/*
|
||||||
target: /app/${DRONE_TAG##v}
|
target: /app/${DRONE_TAG##v}
|
||||||
|
|
||||||
|
---
|
||||||
|
kind: pipeline
|
||||||
|
type: exec
|
||||||
|
name: release-ios
|
||||||
|
|
||||||
|
depends_on:
|
||||||
|
- testing
|
||||||
|
|
||||||
|
trigger:
|
||||||
|
event:
|
||||||
|
- push
|
||||||
|
branch:
|
||||||
|
- feature/ios
|
||||||
|
- master
|
||||||
|
|
||||||
|
platform:
|
||||||
|
os: darwin
|
||||||
|
arch: amd64
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: build
|
||||||
|
commands:
|
||||||
|
- make build-ios
|
4
Makefile
4
Makefile
|
@ -30,6 +30,10 @@ build-debug:
|
||||||
build-profile:
|
build-profile:
|
||||||
$(FLUTTER) build apk --profile --build-name=$(VERSION) --flavor unsigned
|
$(FLUTTER) build apk --profile --build-name=$(VERSION) --flavor unsigned
|
||||||
|
|
||||||
|
.PHONY: build-ios
|
||||||
|
build-ios:
|
||||||
|
$(FLUTTER) build ios --release --build-name=$(VERSION)
|
||||||
|
|
||||||
.PHONY: format
|
.PHONY: format
|
||||||
format:
|
format:
|
||||||
$(FLUTTER) format lib
|
$(FLUTTER) format lib
|
||||||
|
|
|
@ -1,10 +1,11 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# This is a generated file; do not edit or check into version control.
|
# This is a generated file; do not edit or check into version control.
|
||||||
export "FLUTTER_ROOT=/nix/store/nyvp7jf7sfxsbc6jsm1y4fc18631ap26-flutter-stable-1.12.13+hotfix.5-unwrapped"
|
export "FLUTTER_ROOT=/opt/flutter"
|
||||||
export "FLUTTER_APPLICATION_PATH=/home/konrad/www/vikunja/app2"
|
export "FLUTTER_APPLICATION_PATH=/home/jonasfranz/Projects/vikunja/app"
|
||||||
export "FLUTTER_TARGET=lib/main.dart"
|
export "FLUTTER_TARGET=lib/main.dart"
|
||||||
export "FLUTTER_BUILD_DIR=build"
|
export "FLUTTER_BUILD_DIR=build"
|
||||||
export "SYMROOT=${SOURCE_ROOT}/../build/ios"
|
export "SYMROOT=${SOURCE_ROOT}/../build/ios"
|
||||||
export "FLUTTER_FRAMEWORK_DIR=/home/konrad/.cache/flutter/artifacts/engine/ios"
|
export "OTHER_LDFLAGS=$(inherited) -framework Flutter"
|
||||||
|
export "FLUTTER_FRAMEWORK_DIR=/opt/flutter/bin/cache/artifacts/engine/ios"
|
||||||
export "FLUTTER_BUILD_NAME=0.1.0"
|
export "FLUTTER_BUILD_NAME=0.1.0"
|
||||||
export "FLUTTER_BUILD_NUMBER=0.1.0"
|
export "FLUTTER_BUILD_NUMBER=0.1.0"
|
||||||
|
|
|
@ -213,7 +213,7 @@ packages:
|
||||||
name: test_api
|
name: test_api
|
||||||
url: "https://pub.dartlang.org"
|
url: "https://pub.dartlang.org"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "0.2.11"
|
version: "0.2.15"
|
||||||
typed_data:
|
typed_data:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
|
|
Reference in New Issue
Block a user