Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
8231f579
Commit
8231f579
authored
Dec 17, 2015
by
Chinmay Garde
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix travis builds and linter warnings
parent
08fdf99f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
ios.dart
packages/flutter_tools/lib/src/commands/ios.dart
+5
-5
No files found.
packages/flutter_tools/lib/src/commands/ios.dart
View file @
8231f579
...
...
@@ -22,7 +22,7 @@ class IOSCommand extends FlutterCommand {
}
static
Uri
_xcodeProjectUri
(
String
revision
)
{
return
Uri
.
parse
(
"https://storage.googleapis.com/flutter_infra/flutter/
$
{revision}
/ios/FlutterXcode.zip"
);
return
Uri
.
parse
(
"https://storage.googleapis.com/flutter_infra/flutter/
$
revision
/ios/FlutterXcode.zip"
);
}
Future
<
List
<
int
>>
_fetchXcodeArchive
()
async
{
...
...
@@ -98,14 +98,14 @@ class IOSCommand extends FlutterCommand {
localsBuffer
.
writeln
(
"// Recreate using `flutter ios`"
);
String
flutterRoot
=
path
.
normalize
(
Platform
.
environment
[
kFlutterRootEnvironmentVariableName
]);
localsBuffer
.
writeln
(
"FLUTTER_ROOT=
$
{flutterRoot}
"
);
localsBuffer
.
writeln
(
"FLUTTER_ROOT=
$
flutterRoot
"
);
// This holds because requiresProjectRoot is true for this command
String
applicationRoot
=
path
.
normalize
(
Directory
.
current
.
path
);
localsBuffer
.
writeln
(
"FLUTTER_APPLICATION_PATH=
$
{applicationRoot}
"
);
localsBuffer
.
writeln
(
"FLUTTER_APPLICATION_PATH=
$
applicationRoot
"
);
String
dartSDKPath
=
path
.
normalize
(
path
.
join
(
Platform
.
resolvedExecutable
,
".."
,
".."
));
localsBuffer
.
writeln
(
"DART_SDK_PATH=
$
{dartSDKPath}
"
);
localsBuffer
.
writeln
(
"DART_SDK_PATH=
$
dartSDKPath
"
);
File
localsFile
=
new
File
(
filePath
);
await
localsFile
.
create
(
recursive:
true
);
...
...
@@ -147,7 +147,7 @@ class IOSCommand extends FlutterCommand {
}
if
(
argResults
[
'init'
])
return
_runInitCommand
();
return
await
_runInitCommand
();
print
(
"No flags specified..."
);
return
-
1
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment