File tree Expand file tree Collapse file tree 10 files changed +29
-47
lines changed Expand file tree Collapse file tree 10 files changed +29
-47
lines changed Original file line number Diff line number Diff line change 1
1
# SPDX-License-Identifier: Apache-2.0
2
-
3
- # Local build binaries
4
- node-cli /node-cli
5
- * .pyc
6
- /bin
7
- docs /build /*
8
- .idea
9
- * .iml
10
- .DS_Store
11
- tags
12
- .tags
13
- .vagrant /
14
- /.build
15
- build /
16
- /release /darwin-amd64
17
- /release /linux-amd64
18
- /release /linux-s390x
19
- /release /linux-ppc64le
20
- /release /windows-amd64
21
- # Emacs backup files
2
+ . # *
22
3
* ~
23
4
* #
24
- . # *
25
- # Vim file artifacts
26
- . * .sw *
27
- # Makefile dummy artifacts
5
+ /bin
6
+ /build
7
+ /.build
8
+ * .cov
9
+ /docs /build /*
10
+ .DS_Store
28
11
. * -dummy
29
- # log files
12
+ .gradle
13
+ .idea
14
+ * .iml
30
15
* .log
31
- # code coverage
32
- * .cov
33
- go-carpet-coverage *
34
- # Test result xml files
16
+ .project
17
+ /release
35
18
report.xml
36
19
results.xml
37
- TESTS * .xml
38
20
.settings
39
- .project
40
- .gradle
41
- bin /
42
- # tox
21
+ . * .sw *
22
+ tags
23
+ .tags
24
+ TESTS * .xml
43
25
.tox /
44
- # vscode settings
26
+ .vagrant /
45
27
.vscode
46
- maven_data.xml
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ COUCHDB_VER ?= 2.3
54
54
.SUFFIXES :
55
55
MAKEFLAGS += --no-builtin-rules
56
56
57
- BUILD_DIR ?= . build
57
+ BUILD_DIR ?= build
58
58
NEXUS_REPO = nexus3.hyperledger.org:10001/hyperledger
59
59
60
60
EXTRA_VERSION ?= $(shell git rev-parse --short HEAD)
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ FROM base
25
25
ENV FABRIC_CFG_PATH /etc/hyperledger/fabric
26
26
VOLUME /etc/hyperledger/fabric
27
27
VOLUME /var/hyperledger
28
- COPY --from=orderer /go/src/github.com/hyperledger/fabric/. build/bin /usr/local/bin
28
+ COPY --from=orderer /go/src/github.com/hyperledger/fabric/build/bin /usr/local/bin
29
29
COPY --from=orderer /go/src/github.com/hyperledger/fabric/sampleconfig/msp ${FABRIC_CFG_PATH}/msp
30
30
COPY --from=orderer /go/src/github.com/hyperledger/fabric/sampleconfig/orderer.yaml ${FABRIC_CFG_PATH}
31
31
COPY --from=orderer /go/src/github.com/hyperledger/fabric/sampleconfig/configtx.yaml ${FABRIC_CFG_PATH}
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ FROM peer-base
26
26
ENV FABRIC_CFG_PATH /etc/hyperledger/fabric
27
27
VOLUME /etc/hyperledger/fabric
28
28
VOLUME /var/hyperledger
29
- COPY --from=peer /go/src/github.com/hyperledger/fabric/. build/bin /usr/local/bin
29
+ COPY --from=peer /go/src/github.com/hyperledger/fabric/build/bin /usr/local/bin
30
30
COPY --from=peer /go/src/github.com/hyperledger/fabric/sampleconfig/msp ${FABRIC_CFG_PATH}/msp
31
31
COPY --from=peer /go/src/github.com/hyperledger/fabric/sampleconfig/core.yaml ${FABRIC_CFG_PATH}
32
32
EXPOSE 7051
Original file line number Diff line number Diff line change @@ -28,5 +28,5 @@ RUN apk add --no-cache \
28
28
tzdata;
29
29
ENV FABRIC_CFG_PATH /etc/hyperledger/fabric
30
30
VOLUME /etc/hyperledger/fabric
31
- COPY --from=tools /go/src/github.com/hyperledger/fabric/. build/bin /usr/local/bin
31
+ COPY --from=tools /go/src/github.com/hyperledger/fabric/build/bin /usr/local/bin
32
32
COPY --from=tools /go/src/github.com/hyperledger/fabric/sampleconfig ${FABRIC_CFG_PATH}
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ set -eux -o pipefail
10
10
# Find all proto dirs to be processed
11
11
PROTO_DIRS=" $( find " $( pwd) " \
12
12
-path " $( pwd) /vendor" -prune -o \
13
- -path " $( pwd) /. build" -prune -o \
13
+ -path " $( pwd) /build" -prune -o \
14
14
-name ' *.proto' -print0 | \
15
15
xargs -0 -n 1 dirname | \
16
16
sort -u | grep -v testdata) "
Original file line number Diff line number Diff line change @@ -9,12 +9,14 @@ function filterExcludedAndGeneratedFiles {
9
9
excluded_files=(
10
10
' \.block$'
11
11
' ^\.build/'
12
+ ' ^build/'
12
13
' (^|/)ci\.properties$'
13
14
' (^|/)\.git/'
14
15
' \.gen\.go$'
15
16
' (^|/)go.mod$'
16
17
' (^|/)go.sum$'
17
18
' (^|/)Gopkg\.lock$'
19
+ ' \.json$'
18
20
' \.key$'
19
21
' (^|/)LICENSE$'
20
22
' \.md$'
@@ -28,7 +30,6 @@ function filterExcludedAndGeneratedFiles {
28
30
' \.txt$'
29
31
' (^|/)testdata\/'
30
32
' (^|/)vendor\/'
31
- ' \.json$'
32
33
' (^|/)Pipfile$'
33
34
' (^|/)Pipfile\.lock$'
34
35
)
Original file line number Diff line number Diff line change 4
4
#
5
5
# SPDX-License-Identifier: Apache-2.0
6
6
#
7
- PATH=. build/bin/:${PATH}
7
+ PATH=build/bin/:${PATH}
8
8
9
9
# Takes in 4 arguments
10
10
# 1. Output doc file
Original file line number Diff line number Diff line change @@ -11,8 +11,8 @@ source "$(cd "$(dirname "$0")" && pwd)/functions.sh"
11
11
12
12
# place the Go build cache directory into the default build tree if it exists
13
13
base_dir=" $( cd " $( dirname " $0 " ) /.." && pwd) "
14
- if [ -d " ${base_dir} /. build" ]; then
15
- export GOCACHE=" ${base_dir} /. build/go-cache"
14
+ if [ -d " ${base_dir} /build" ]; then
15
+ export GOCACHE=" ${base_dir} /build/go-cache"
16
16
fi
17
17
18
18
fabric_dir=" $( cd " $( dirname " $0 " ) /.." && pwd) "
Original file line number Diff line number Diff line change @@ -176,8 +176,8 @@ run_tests_with_coverage() {
176
176
177
177
main () {
178
178
# place the cache directory into the default build tree if it exists
179
- if [ -d " ${base_dir} /. build" ]; then
180
- export GOCACHE=" ${base_dir} /. build/go-cache"
179
+ if [ -d " ${base_dir} /build" ]; then
180
+ export GOCACHE=" ${base_dir} /build/go-cache"
181
181
fi
182
182
183
183
# explicit exclusions for ppc and s390x
You can’t perform that action at this time.
0 commit comments