Skip to content

Commit

Permalink
Switch macOS from name_output.sh to .app_filename (#381)
Browse files Browse the repository at this point in the history
  • Loading branch information
stuartmorgan committed May 16, 2019
1 parent c8f53e4 commit 754ceca
Show file tree
Hide file tree
Showing 6 changed files with 38 additions and 82 deletions.
18 changes: 18 additions & 0 deletions example/macos/Runner.xcodeproj/project.pbxproj
Expand Up @@ -148,6 +148,7 @@
33CC10EA2044A3C60003C045 /* Frameworks */,
33CC10EB2044A3C60003C045 /* Resources */,
33CC110E2044A8840003C045 /* Bundle Framework */,
3399D490228B24CF009A79C7 /* ShellScript */,
);
buildRules = (
);
Expand Down Expand Up @@ -214,6 +215,23 @@
/* End PBXResourcesBuildPhase section */

/* Begin PBXShellScriptBuildPhase section */
3399D490228B24CF009A79C7 /* ShellScript */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
);
inputPaths = (
);
outputFileListPaths = (
);
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "echo \"$PRODUCT_NAME.app\" > \"$PROJECT_DIR\"/Flutter/.app_filename\n";
};
33CC111E2044C6BF0003C045 /* ShellScript */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
Expand Down
40 changes: 0 additions & 40 deletions example/macos/name_output.sh

This file was deleted.

2 changes: 1 addition & 1 deletion example/pubspec.yaml
Expand Up @@ -6,7 +6,7 @@ environment:
# The example interacts with build scripts on the Flutter side that are not
# yet stable, so it requires a very recent version of Flutter.
# This version will increase regularly as the build scripts change.
flutter: '>=1.5.9-pre.267'
flutter: '>=1.5.9-pre.270'

dependencies:
flutter:
Expand Down
18 changes: 18 additions & 0 deletions testbed/macos/Runner.xcodeproj/project.pbxproj
Expand Up @@ -259,6 +259,7 @@
33CC10EA2044A3C60003C045 /* Frameworks */,
33CC10EB2044A3C60003C045 /* Resources */,
33CC110E2044A8840003C045 /* Bundle Framework */,
3399D490228B24CF009A79C7 /* ShellScript */,
);
buildRules = (
);
Expand Down Expand Up @@ -377,6 +378,23 @@
/* End PBXResourcesBuildPhase section */

/* Begin PBXShellScriptBuildPhase section */
3399D490228B24CF009A79C7 /* ShellScript */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
);
inputPaths = (
);
outputFileListPaths = (
);
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "echo \"$PRODUCT_NAME.app\" > \"$PROJECT_DIR\"/Flutter/.app_filename\n";
};
33CC111E2044C6BF0003C045 /* ShellScript */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
Expand Down
40 changes: 0 additions & 40 deletions testbed/macos/name_output.sh

This file was deleted.

2 changes: 1 addition & 1 deletion testbed/pubspec.yaml
Expand Up @@ -6,7 +6,7 @@ environment:
# The testbed interacts with build scripts on the Flutter side that are not
# yet stable, so it requires a very recent version of Flutter.
# This version will increase regularly as the build scripts change.
flutter: '>=1.5.9-pre.267'
flutter: '>=1.5.9-pre.270'

dependencies:
flutter:
Expand Down

0 comments on commit 754ceca

Please sign in to comment.