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
13d051f2
Unverified
Commit
13d051f2
authored
Feb 16, 2021
by
stuartmorgan
Committed by
GitHub
Feb 16, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update link for missing desktop projects (#76123)
parent
f4995659
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
12 additions
and
6 deletions
+12
-6
build_linux.dart
packages/flutter_tools/lib/src/linux/build_linux.dart
+1
-1
build_macos.dart
packages/flutter_tools/lib/src/macos/build_macos.dart
+1
-1
build_windows.dart
packages/flutter_tools/lib/src/windows/build_windows.dart
+1
-1
build_linux_test.dart
..._tools/test/commands.shard/hermetic/build_linux_test.dart
+3
-1
build_macos_test.dart
..._tools/test/commands.shard/hermetic/build_macos_test.dart
+3
-1
build_windows_test.dart
...ools/test/commands.shard/hermetic/build_windows_test.dart
+3
-1
No files found.
packages/flutter_tools/lib/src/linux/build_linux.dart
View file @
13d051f2
...
...
@@ -39,7 +39,7 @@ Future<void> buildLinux(
})
async
{
if
(!
linuxProject
.
cmakeFile
.
existsSync
())
{
throwToolExit
(
'No Linux desktop project configured. See '
'https://flutter.dev/desktop#add-desktop-support-to-an-existing-app '
'https://flutter.dev/desktop#add-desktop-support-to-an-existing-
flutter-
app '
'to learn about adding Linux support to a project.'
);
}
...
...
packages/flutter_tools/lib/src/macos/build_macos.dart
View file @
13d051f2
...
...
@@ -34,7 +34,7 @@ Future<void> buildMacOS({
})
async
{
if
(!
flutterProject
.
macos
.
xcodeWorkspace
.
existsSync
())
{
throwToolExit
(
'No macOS desktop project configured. '
'See https://flutter.dev/desktop#add-desktop-support-to-an-existing-app '
'See https://flutter.dev/desktop#add-desktop-support-to-an-existing-
flutter-
app '
'to learn about adding macOS support to a project.'
);
}
...
...
packages/flutter_tools/lib/src/windows/build_windows.dart
View file @
13d051f2
...
...
@@ -35,7 +35,7 @@ Future<void> buildWindows(WindowsProject windowsProject, BuildInfo buildInfo, {
if
(!
windowsProject
.
cmakeFile
.
existsSync
())
{
throwToolExit
(
'No Windows desktop project configured. See '
'https://flutter.dev/desktop#add-desktop-support-to-an-existing-app '
'https://flutter.dev/desktop#add-desktop-support-to-an-existing-
flutter-
app '
'to learn about adding Windows support to a project.'
);
}
...
...
packages/flutter_tools/test/commands.shard/hermetic/build_linux_test.dart
View file @
13d051f2
...
...
@@ -115,7 +115,9 @@ void main() {
expect
(
createTestCommandRunner
(
command
).
run
(
const
<
String
>[
'build'
,
'linux'
,
'--no-pub'
]
),
throwsToolExit
(
message:
'No Linux desktop project configured'
));
),
throwsToolExit
(
message:
'No Linux desktop project configured. See '
'https://flutter.dev/desktop#add-desktop-support-to-an-existing-flutter-app '
'to learn about adding Linux support to a project.'
));
},
overrides:
<
Type
,
Generator
>{
Platform:
()
=>
linuxPlatform
,
FileSystem:
()
=>
fileSystem
,
...
...
packages/flutter_tools/test/commands.shard/hermetic/build_macos_test.dart
View file @
13d051f2
...
...
@@ -118,7 +118,9 @@ void main() {
expect
(
createTestCommandRunner
(
command
).
run
(
const
<
String
>[
'build'
,
'macos'
,
'--no-pub'
]
),
throwsToolExit
(
message:
'No macOS desktop project configured'
));
),
throwsToolExit
(
message:
'No macOS desktop project configured. See '
'https://flutter.dev/desktop#add-desktop-support-to-an-existing-flutter-app '
'to learn about adding macOS support to a project.'
));
},
overrides:
<
Type
,
Generator
>{
Platform:
()
=>
macosPlatform
,
FileSystem:
()
=>
fileSystem
,
...
...
packages/flutter_tools/test/commands.shard/hermetic/build_windows_test.dart
View file @
13d051f2
...
...
@@ -138,7 +138,9 @@ void main() {
expect
(
createTestCommandRunner
(
command
).
run
(
const
<
String
>[
'windows'
,
'--no-pub'
]
),
throwsToolExit
(
message:
'No Windows desktop project configured'
));
),
throwsToolExit
(
message:
'No Windows desktop project configured. See '
'https://flutter.dev/desktop#add-desktop-support-to-an-existing-flutter-app '
'to learn about adding Windows support to a project.'
));
},
overrides:
<
Type
,
Generator
>{
Platform:
()
=>
windowsPlatform
,
FileSystem:
()
=>
fileSystem
,
...
...
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