Skip to content

Commit ceb82da

Browse files
authored
Move main.go from fxconfig/cmd to fxconfig/ (#68)
<!-- Copyright IBM Corp. All Rights Reserved. SPDX-License-Identifier: Apache-2.0 DELETE MARKDOWN COMMENTS BEFORE SUBMITTING PULL REQUEST. If this PR introduces a breaking change that affects compatibility with other components: - The PR title must begin with the prefix [BREAKING]. - "Breaking change" must be included in the list below. - Relevant stakeholders must be notified before or immediately after the PR is merged. --> #### Type of change <!--- What type of change? Pick one or more options and delete the others. --> - Improvement #### Description This fix allows to install `fxconfig` using the command: ```shell go install github.com/hyperledger/fabric-x/tools/fxconfig@latest ``` The current command `go install github.com/hyperledger/fabric-x/tools/fxconfig/cmd@v0.0.10` produces a binary named `cmd`, which is not great when people install `fxconfig` on their systems. Signed-off-by: pco <pasquale.convertini@ibm.com>
1 parent fd0d246 commit ceb82da

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ COPY . .
2727
RUN go build -o /tmp/bin/configtxgen ./tools/configtxgen
2828
RUN go build -o /tmp/bin/cryptogen ./tools/cryptogen
2929
RUN go build -o /tmp/bin/configtxlator ./tools/configtxlator
30-
RUN go build -o /tmp/bin/fxconfig ./tools/fxconfig/cmd
30+
RUN go build -o /tmp/bin/fxconfig ./tools/fxconfig
3131

3232
###########################################
3333
# Stage 2: Production runtime image

0 commit comments

Comments
 (0)