Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
F
fuchsia.googlesource.com-third_party-github.com-googleapis-go-genproto
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor 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
fuchsia-mirror
fuchsia.googlesource.com-third_party-github.com-googleapis-go-genproto
Commits
8819c946
Unverified
Commit
8819c946
authored
6 years ago
by
Jean de Klerk
Committed by
GitHub
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
remove -q from git clone (#133)
This makes it easier to reason about what this script is doing.
parent
eef12c79
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
regen.sh
+3
-4
3 additions, 4 deletions
regen.sh
with
3 additions
and
4 deletions
regen.sh
+
3
−
4
View file @
8819c946
...
@@ -23,7 +23,6 @@ set -e
...
@@ -23,7 +23,6 @@ set -e
PKG
=
google.golang.org/genproto
PKG
=
google.golang.org/genproto
PROTO_REPO
=
https://github.com/google/protobuf
PROTO_REPO
=
https://github.com/google/protobuf
PROTO_SUBDIR
=
src/google/protobuf
GOOGLEAPIS_REPO
=
https://github.com/googleapis/googleapis
GOOGLEAPIS_REPO
=
https://github.com/googleapis/googleapis
API_COMMON_REPO
=
https://github.com/googleapis/api-common-protos.git
API_COMMON_REPO
=
https://github.com/googleapis/api-common-protos.git
...
@@ -48,7 +47,7 @@ trap 'rm -rf $remove_dirs' EXIT
...
@@ -48,7 +47,7 @@ trap 'rm -rf $remove_dirs' EXIT
if
[
-z
"
$PROTOBUF
"
]
;
then
if
[
-z
"
$PROTOBUF
"
]
;
then
proto_repo_dir
=
$(
mktemp
-d
-t
regen-cds-proto.XXXXXX
)
proto_repo_dir
=
$(
mktemp
-d
-t
regen-cds-proto.XXXXXX
)
git clone
-q
$PROTO_REPO
$proto_repo_dir
&
git clone
$PROTO_REPO
$proto_repo_dir
remove_dirs
=
"
$proto_repo_dir
"
remove_dirs
=
"
$proto_repo_dir
"
# The protoc include directory is actually the "src" directory of the repo.
# The protoc include directory is actually the "src" directory of the repo.
protodir
=
"
$proto_repo_dir
/src"
protodir
=
"
$proto_repo_dir
/src"
...
@@ -58,7 +57,7 @@ fi
...
@@ -58,7 +57,7 @@ fi
if
[
-z
"
$GOOGLEAPIS
"
]
;
then
if
[
-z
"
$GOOGLEAPIS
"
]
;
then
apidir
=
$(
mktemp
-d
-t
regen-cds-api.XXXXXX
)
apidir
=
$(
mktemp
-d
-t
regen-cds-api.XXXXXX
)
git clone
-q
$GOOGLEAPIS_REPO
$apidir
&
git clone
$GOOGLEAPIS_REPO
$apidir
remove_dirs
=
"
$remove_dirs
$apidir
"
remove_dirs
=
"
$remove_dirs
$apidir
"
else
else
apidir
=
"
$GOOGLEAPIS
"
apidir
=
"
$GOOGLEAPIS
"
...
@@ -66,7 +65,7 @@ fi
...
@@ -66,7 +65,7 @@ fi
if
[
-z
"
$COMMONPROTOS
"
]
;
then
if
[
-z
"
$COMMONPROTOS
"
]
;
then
commondir
=
$(
mktemp
-d
-t
regen-cds-common.XXXXXX
)
commondir
=
$(
mktemp
-d
-t
regen-cds-common.XXXXXX
)
git clone
-q
$API_COMMON_REPO
$commondir
&
git clone
$API_COMMON_REPO
$commondir
remove_dirs
=
"
$remove_dirs
$commondir
"
remove_dirs
=
"
$remove_dirs
$commondir
"
else
else
commondir
=
"
$COMMONPROTOS
"
commondir
=
"
$COMMONPROTOS
"
...
...
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