Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
823fb10
commit e7d0c37
Showing
15 changed files
with
161 additions
and
12 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,32 @@ | ||
architect: | ||
- ammaratef45 | ||
docker: | ||
as_root: true | ||
image: adamantium/flutter | ||
|
||
install: |- | ||
sudo gem install pdd | ||
git clone https://github.com/flutter/flutter.git -b beta --depth 1 | ||
./flutter/bin/flutter doctor | ||
curl -sSL https://get.rvm.io | bash -s stable --ruby | ||
source /usr/local/rvm/scripts/rvm | ||
gem install pdd | ||
gem install fastlane | ||
decrypt: | ||
repo/attendance/android/api-project.json: "repo/attendance/android/api-project.json.asc" | ||
repo/attendance/android/key.properties: "repo/attendance/android/key.properties.asc" | ||
|
||
merge: | ||
script: |- | ||
flutter doctor | ||
cd attendance | ||
../flutter/bin/flutter packages get | ||
../flutter/bin/flutter test | ||
../flutter/bin/flutter -v build apk | ||
cd ../attendance_admin | ||
../flutter/bin/flutter packages get | ||
../flutter/bin/flutter test | ||
../flutter/bin/flutter -v build apk | ||
flutter packages get | ||
flutter test | ||
flutter -v build apk | ||
pdd -f /dev/null -v | ||
deploy: | ||
script: |- | ||
flutter doctor | ||
cd attendance | ||
flutter -v build apk | ||
cd android | ||
fastlane beta |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
source "https://rubygems.org" | ||
|
||
gem "fastlane" |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
json_key_file("api-project.json") # Path to the json secret file - Follow https://docs.fastlane.tools/actions/supply/#setup to get one | ||
package_name("com.ammar.attendance") # e.g. com.krausefx.app |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# This file contains the fastlane.tools configuration | ||
# You can find the documentation at https://docs.fastlane.tools | ||
# | ||
# For a list of all available actions, check out | ||
# | ||
# https://docs.fastlane.tools/actions | ||
# | ||
# For a list of all available plugins, check out | ||
# | ||
# https://docs.fastlane.tools/plugins/available-plugins | ||
# | ||
|
||
# Uncomment the line if you want fastlane to automatically update itself | ||
# update_fastlane | ||
|
||
default_platform(:android) | ||
|
||
platform :android do | ||
desc "Runs all the tests" | ||
lane :test do | ||
gradle(task: "test") | ||
end | ||
|
||
desc "Submit a new Beta Build to Crashlytics Beta" | ||
lane :beta do | ||
gradle(task: "clean assembleRelease") | ||
crashlytics | ||
|
||
# sh "your_script.sh" | ||
# You can also use other beta testing services here | ||
end | ||
|
||
desc "Deploy a new version to the Google Play" | ||
lane :deploy do | ||
gradle(task: "clean assembleRelease") | ||
upload_to_play_store | ||
end | ||
end | ||
|
||
lane :beta do | ||
gradle( | ||
task: 'assemble', | ||
build_type: 'Release' | ||
) | ||
upload_to_play_store(track: 'beta', apk: '../build/app/outputs/apk/release/app-release.apk') | ||
end |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
fastlane documentation | ||
================ | ||
# Installation | ||
|
||
Make sure you have the latest version of the Xcode command line tools installed: | ||
|
||
``` | ||
xcode-select --install | ||
``` | ||
|
||
Install _fastlane_ using | ||
``` | ||
[sudo] gem install fastlane -NV | ||
``` | ||
or alternatively using `brew cask install fastlane` | ||
|
||
# Available Actions | ||
### beta | ||
``` | ||
fastlane beta | ||
``` | ||
|
||
|
||
---- | ||
|
||
## Android | ||
### android test | ||
``` | ||
fastlane android test | ||
``` | ||
Runs all the tests | ||
### android beta | ||
``` | ||
fastlane android beta | ||
``` | ||
Submit a new Beta Build to Crashlytics Beta | ||
### android deploy | ||
``` | ||
fastlane android deploy | ||
``` | ||
Deploy a new version to the Google Play | ||
|
||
---- | ||
|
||
This README.md is auto-generated and will be re-generated every time [fastlane](https://fastlane.tools) is run. | ||
More information about fastlane can be found on [fastlane.tools](https://fastlane.tools). | ||
The documentation of fastlane can be found on [docs.fastlane.tools](https://docs.fastlane.tools). |
1 change: 1 addition & 0 deletions
1
attendance/android/fastlane/metadata/android/en-US/changelogs/1.txt
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Basic simple stuff yet |
1 change: 1 addition & 0 deletions
1
attendance/android/fastlane/metadata/android/en-US/changelogs/2.txt
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Now you can see a list of sessions you scanned. |
3 changes: 3 additions & 0 deletions
3
attendance/android/fastlane/metadata/android/en-US/changelogs/3.txt
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
-See the history of sessions attended. | ||
-See details of any session. | ||
-Scan for session leaving is possible now. |
3 changes: 3 additions & 0 deletions
3
attendance/android/fastlane/metadata/android/en-US/changelogs/4.txt
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
-See the history of sessions attended. | ||
-See details of any session. | ||
-Scan for session leaving is possible now. |
1 change: 1 addition & 0 deletions
1
attendance/android/fastlane/metadata/android/en-US/full_description.txt
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Scan the QR when arrive and leave a class for easy and quick attendance record with all needed info |
1 change: 1 addition & 0 deletions
1
attendance/android/fastlane/metadata/android/en-US/short_description.txt
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Scan QR for classes attendance |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Attendance |
Empty file.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<testsuites> | ||
<testsuite name="fastlane.lanes"> | ||
|
||
|
||
|
||
|
||
<testcase classname="fastlane.lanes" name="0: default_platform" time="0.005435"> | ||
|
||
</testcase> | ||
|
||
|
||
<testcase classname="fastlane.lanes" name="1: gradle" time="8.584314"> | ||
|
||
</testcase> | ||
|
||
|
||
<testcase classname="fastlane.lanes" name="2: upload_to_play_store" time="92.252003"> | ||
|
||
<failure message="C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/fastlane-2.117.1/fastlane/lib/fastlane/actions/actions_helper.rb:48:in `execute_action' C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/fastlane-2.117.1/fastlane/lib/fastlane/runner.rb:232:in `block in execute_action' C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/fastlane-2.117.1/fastlane/lib/fastlane/runner.rb:227:in `chdir' C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/fastlane-2.117.1/fastlane/lib/fastlane/runner.rb:227:in `execute_action' C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/fastlane-2.117.1/fastlane/lib/fastlane/runner.rb:157:in `trigger_action_by_name' C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/fastlane-2.117.1/fastlane/lib/fastlane/fast_file.rb:154:in `method_missing' Fastfile:45:in `block in parsing_binding' C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/fastlane-2.117.1/fastlane/lib/fastlane/lane.rb:33:in `call' C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/fastlane-2.117.1/fastlane/lib/fastlane/runner.rb:49:in `block in execute' C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/fastlane-2.117.1/fastlane/lib/fastlane/runner.rb:45:in `chdir' C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/fastlane-2.117.1/fastlane/lib/fastlane/runner.rb:45:in `execute' C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/fastlane-2.117.1/fastlane/lib/fastlane/lane_manager.rb:56:in `cruise_lane' C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/fastlane-2.117.1/fastlane/lib/fastlane/command_line_handler.rb:36:in `handle' C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/fastlane-2.117.1/fastlane/lib/fastlane/commands_generator.rb:108:in `block (2 levels) in run' C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:178:in `call' C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:153:in `run' C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/commander-fastlane-4.4.6/lib/commander/runner.rb:476:in `run_active_command' C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/fastlane-2.117.1/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:76:in `run!' C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/commander-fastlane-4.4.6/lib/commander/delegates.rb:15:in `run!' C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/fastlane-2.117.1/fastlane/lib/fastlane/commands_generator.rb:333:in `run' C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/fastlane-2.117.1/fastlane/lib/fastlane/commands_generator.rb:41:in `start' C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/fastlane-2.117.1/fastlane/lib/fastlane/cli_tools_distributor.rb:119:in `take_off' C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/fastlane-2.117.1/bin/fastlane:23:in `<top (required)>' C:/Ruby25-x64/bin/fastlane:23:in `load' C:/Ruby25-x64/bin/fastlane:23:in `<main>' Google Api Error: apkUpgradeVersionConflict: APK specifies a version code that has already been used." /> | ||
|
||
</testcase> | ||
|
||
</testsuite> | ||
</testsuites> |