Skip to content
This repository was archived by the owner on Jul 18, 2025. It is now read-only.

Commit 161d9b8

Browse files
Merge pull request #9 from dave-tucker/rename-binaries
Rename the binaries to libcompose-cli
2 parents 2213242 + 0f86a08 commit 161d9b8

File tree

6 files changed

+14
-13
lines changed

6 files changed

+14
-13
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
.DS_Store
22
/main/main
33
/docker-compose*
4+
/libcompose-cli*
45
*.log
56
*.swp
67
bundles

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ RUN set -ex; \
2424
RUN ln -s /usr/local/bin/docker-${DOCKER_VERSION} /usr/local/bin/docker
2525

2626
ENV GOPATH /go/src/github.com/docker/libcompose/Godeps/_workspace:/go
27-
ENV COMPOSE_BINARY /go/src/github.com/docker/libcompose/docker-compose
27+
ENV COMPOSE_BINARY /go/src/github.com/docker/libcompose/libcompose-cli
2828
ENV USER root
2929

3030
WORKDIR /go/src/github.com/docker/libcompose

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,13 @@ A partial implementation of the docker-compose CLI is also implemented in Go. Th
4444
Run one of these:
4545

4646
```
47-
docker-compose_darwin-386
48-
docker-compose_linux-amd64
49-
docker-compose_windows-amd64.exe
50-
docker-compose_darwin-amd64
51-
docker-compose_linux-arm
52-
docker-compose_linux-386
53-
docker-compose_windows-386.exe
47+
libcompose-cli_darwin-386
48+
libcompose-cli_linux-amd64
49+
libcompose-cli_windows-amd64.exe
50+
libcompose-cli_darwin-amd64
51+
libcompose-cli_linux-arm
52+
libcompose-cli_linux-386
53+
libcompose-cli_windows-386.exe
5454
```
5555

5656
### Tests

cli/main/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ func main() {
1414
factory := &dockerApp.ProjectFactory{}
1515

1616
app := cli.NewApp()
17-
app.Name = "docker-compose"
18-
app.Usage = "Fast, isolated environments using Docker."
17+
app.Name = "libcompose-cli"
18+
app.Usage = "Command line interface for libcompose."
1919
app.Version = version.VERSION + " (" + version.GITCOMMIT + ")"
2020
app.Author = "Docker Compose Contributors"
2121
app.Email = "https://github.com/docker/libcompose"

integration/common.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ type RunSuite struct {
3232
}
3333

3434
var _ = Suite(&RunSuite{
35-
command: "../bundles/docker-compose_linux-amd64",
35+
command: "../bundles/libcompose-cli_linux-amd64",
3636
})
3737

3838
func (s *RunSuite) CreateProjectFromText(c *C, input string) string {

script/binary

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ else
1414
fi
1515

1616
# Get rid of existing binaries
17-
rm -f docker-compose*
17+
rm -f libcompose-cli*
1818
rm -rf Godeps/_workspace/pkg
1919

2020
# Build binaries
2121
gox "${OS_PLATFORM_ARG[@]}" "${OS_ARCH_ARG[@]}" \
22-
-output="bundles/docker-compose_{{.OS}}-{{.Arch}}" \
22+
-output="bundles/libcompose-cli_{{.OS}}-{{.Arch}}" \
2323
-ldflags="-w -X github.com/docker/libcompose/version.GITCOMMIT `git rev-parse --short HEAD`" \
2424
./cli/main
2525

0 commit comments

Comments
 (0)