Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
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
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
d380cb1d
Commit
d380cb1d
authored
Oct 24, 2016
by
Mike Danese
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix realpath issue on mac
parent
37796793
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
update-bazel.sh
hack/update-bazel.sh
+2
-1
verify-bazel.sh
hack/verify-bazel.sh
+2
-1
No files found.
hack/update-bazel.sh
View file @
d380cb1d
...
...
@@ -18,6 +18,7 @@ set -o nounset
set
-o
pipefail
export
KUBE_ROOT
=
$(
dirname
"
${
BASH_SOURCE
}
"
)
/..
source
"
${
KUBE_ROOT
}
/hack/lib/init.sh"
go get
-u
github.com/mikedanese/gazel
"
${
GOPATH
}
/bin/gazel"
-root
=
"
$(
realpath
${
KUBE_ROOT
})
"
"
${
GOPATH
}
/bin/gazel"
-root
=
"
$(
kube::
realpath
${
KUBE_ROOT
})
"
hack/verify-bazel.sh
View file @
d380cb1d
...
...
@@ -18,9 +18,10 @@ set -o nounset
set
-o
pipefail
export
KUBE_ROOT
=
$(
dirname
"
${
BASH_SOURCE
}
"
)
/..
source
"
${
KUBE_ROOT
}
/hack/lib/init.sh"
go get
-u
github.com/mikedanese/gazel
if
[[
$(
"
${
GOPATH
}
/bin/gazel"
-dry-run
-root
=
"
$(
realpath
${
KUBE_ROOT
})
"
|&
tee
/dev/stderr |
wc
-l
)
!=
0
]]
;
then
if
[[
$(
"
${
GOPATH
}
/bin/gazel"
-dry-run
-root
=
"
$(
kube::
realpath
${
KUBE_ROOT
})
"
|&
tee
/dev/stderr |
wc
-l
)
!=
0
]]
;
then
echo
echo
"BUILD files are not up to date"
echo
"Run ./hack/update-bazel.sh"
...
...
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