Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
M
Mobile App
Manage
Activity
Members
Labels
Plan
Issues
3
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Code
Mobile App
Commits
955c87d3
Commit
955c87d3
authored
5 years ago
by
Markin Igor
Browse files
Options
Downloads
Patches
Plain Diff
Add debug script.
parent
44e5faad
No related branches found
No related tags found
1 merge request
!3
Resolve "Set up building process."
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
README.md
+5
-6
5 additions, 6 deletions
README.md
build-android.sh
+1
-1
1 addition, 1 deletion
build-android.sh
ios/Podfile.lock
+2
-2
2 additions, 2 deletions
ios/Podfile.lock
run.sh
+12
-0
12 additions, 0 deletions
run.sh
with
20 additions
and
9 deletions
README.md
+
5
−
6
View file @
955c87d3
# Vereign mobile application.
## Building process
## Debug
-
Development
`./run.sh`
-
Production
`./run.sh production`
## Build
#### iOS
-
Production
`./build-ios.sh`
...
...
@@ -10,11 +14,6 @@
-
Production
`./build-android.sh`
-
Development
`./build-android.sh development`
### Build application in debug mode
-
With development flavor
`flutter run --flavor development -t lib/main-dev.dart`
-
With production flavor
`flutter run --flavor production -t lib/main.dart`
## Flutter Getting Started
This project is a starting point for a Flutter application.
...
...
This diff is collapsed.
Click to expand it.
build-android.sh
+
1
−
1
View file @
955c87d3
...
...
@@ -9,7 +9,7 @@ then
entryPoint
=
'main-dev.dart'
fi
# Build
ios
# Build
android
flutter build apk
--flavor
${
flavor
}
-t
lib/
${
entryPoint
}
...
...
This diff is collapsed.
Click to expand it.
ios/Podfile.lock
+
2
−
2
View file @
955c87d3
...
...
@@ -18,7 +18,7 @@ PODS:
- Flutter
DEPENDENCIES:
- Flutter (from `.symlinks/flutter/ios
-release
`)
- Flutter (from `.symlinks/flutter/ios`)
- flutter_app_auth_wrapper (from `.symlinks/plugins/flutter_app_auth_wrapper/ios`)
- flutter_web_browser (from `.symlinks/plugins/flutter_web_browser/ios`)
- shared_preferences (from `.symlinks/plugins/shared_preferences/ios`)
...
...
@@ -31,7 +31,7 @@ SPEC REPOS:
EXTERNAL SOURCES:
Flutter:
:path: ".symlinks/flutter/ios
-release
"
:path: ".symlinks/flutter/ios"
flutter_app_auth_wrapper:
:path: ".symlinks/plugins/flutter_app_auth_wrapper/ios"
flutter_web_browser:
...
...
This diff is collapsed.
Click to expand it.
run.sh
0 → 100755
+
12
−
0
View file @
955c87d3
#!/usr/bin/env bash
flavor
=
'development'
entryPoint
=
'main-dev.dart'
if
[[
$1
==
'production'
]]
then
flavor
=
'production'
entryPoint
=
'main.dart'
fi
flutter run
--flavor
${
flavor
}
-t
lib/
${
entryPoint
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment