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
83b28c10
Unverified
Commit
83b28c10
authored
Oct 20, 2021
by
Christopher Fujino
Committed by
GitHub
Oct 20, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[flutter_conductor] remove old conductor entrypoint (#92219)
parent
ab4ce5a0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
40 deletions
+0
-40
conductor
dev/tools/bin/conductor
+0
-40
No files found.
dev/tools/bin/conductor
deleted
100755 → 0
View file @
ab4ce5a0
#!/usr/bin/env bash
set
-euo
pipefail
# Needed because if it is set, cd may print the path it changed to.
unset
CDPATH
# On Mac OS, readlink -f doesn't work, so follow_links traverses the path one
# link at a time, and then cds into the link destination and find out where it
# ends up.
#
# The returned filesystem path must be a format usable by Dart's URI parser,
# since the Dart command line tool treats its argument as a file URI, not a
# filename. For instance, multiple consecutive slashes should be reduced to a
# single slash, since double-slashes indicate a URI "authority", and these are
# supposed to be filenames. There is an edge case where this will return
# multiple slashes: when the input resolves to the root directory. However, if
# that were the case, we wouldn't be running this shell, so we don't do anything
# about it.
#
# The function is enclosed in a subshell to avoid changing the working directory
# of the caller.
function
follow_links
()
(
cd
-P
"
$(
dirname
--
"
$1
"
)
"
file
=
"
$PWD
/
$(
basename
--
"
$1
"
)
"
while
[[
-h
"
$file
"
]]
;
do
cd
-P
"
$(
dirname
--
"
$file
"
)
"
file
=
"
$(
readlink
--
"
$file
"
)
"
cd
-P
"
$(
dirname
--
"
$file
"
)
"
file
=
"
$PWD
/
$(
basename
--
"
$file
"
)
"
done
echo
"
$file
"
)
PROG_NAME
=
"
$(
follow_links
"
${
BASH_SOURCE
[0]
}
"
)
"
BIN_DIR
=
"
$(
cd
"
${
PROG_NAME
%/*
}
"
;
pwd
-P
)
"
REPO_DIR
=
"
$BIN_DIR
/../../.."
DART_BIN
=
"
$REPO_DIR
/bin/dart"
"
$DART_BIN
"
--enable-asserts
"
$REPO_DIR
/dev/conductor/bin/conductor.dart"
"
$@
"
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