Browse code

move _tools to _output/tools

Seth Jennings authored on 2016/06/22 01:22:13
Showing 6 changed files
... ...
@@ -1,5 +1,4 @@
1 1
 /_output
2
-/_tools
3 2
 /openshift.local.*
4 3
 /third-party
5 4
 /.project
... ...
@@ -5,7 +5,7 @@ go:
5 5
   - tip
6 6
 
7 7
 install:
8
-  - export PATH=$GOPATH/bin:./_tools/etcd/bin:$PATH
8
+  - export PATH=$GOPATH/bin:./_output/tools/etcd/bin:$PATH
9 9
   - make install-travis
10 10
 
11 11
 script:
... ...
@@ -32,7 +32,7 @@ os::provision::build-etcd() {
32 32
   local origin_root=$1
33 33
   local skip_build=$2
34 34
 
35
-  if [[ -f "${origin_root}/_tools/etcd/bin/etcd" &&
35
+  if [[ -f "${origin_root}/_output/tools/etcd/bin/etcd" &&
36 36
           "${skip_build}" = "true" ]]; then
37 37
     echo "WARNING: Skipping etcd build due to OPENSHIFT_SKIP_BUILD=true"
38 38
   # Etcd is required for integration testing which isn't a use case
... ...
@@ -12,8 +12,8 @@ os::log::stacktrace::install
12 12
 
13 13
 etcd_version=$(go run ${OS_ROOT}/tools/godepversion/godepversion.go ${OS_ROOT}/Godeps/Godeps.json github.com/coreos/etcd/etcdserver)
14 14
 
15
-mkdir -p "${OS_ROOT}/_tools"
16
-cd "${OS_ROOT}/_tools"
15
+mkdir -p "${OS_ROOT}/_output/tools"
16
+cd "${OS_ROOT}/_output/tools"
17 17
 
18 18
 if [ ! -d etcd ]; then
19 19
   mkdir -p etcd
... ...
@@ -130,7 +130,6 @@ function list_test_packages_under() {
130 130
         \(                                    \
131 131
               -path 'Godeps'                  \
132 132
               -o -path '*_output'             \
133
-              -o -path '*_tools'              \
134 133
               -o -path '*.git'                \
135 134
               -o -path '*openshift.local.*'   \
136 135
               -o -path '*Godeps/*'            \
... ...
@@ -753,7 +753,6 @@ function find_files() {
753 753
 	find . -not \( \
754 754
 		\( \
755 755
 		-wholename './_output' \
756
-		-o -wholename './_tools' \
757 756
 		-o -wholename './.*' \
758 757
 		-o -wholename './pkg/assets/bindata.go' \
759 758
 		-o -wholename './pkg/assets/*/bindata.go' \