Skip to content

Commit 5425126

Browse files
committed
Move Go code to root of the repo
1 parent 6ccbd0a commit 5425126

File tree

504 files changed

+8
-23
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

504 files changed

+8
-23
lines changed

.dockerignore

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
**
2-
!go/go.*
3-
!go/src/
4-
!go/vendor/
2+
!cmd/
3+
!go.mod
4+
!go.sum
55
!scripts/bashbrew-arch-to-goenv.sh
6+
!vendor/

Dockerfile.release

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,9 @@ RUN set -euxo pipefail; \
5656
ls -lAFh bin/manifest-tool-*; \
5757
file bin/manifest-tool-*
5858

59-
COPY go .
59+
COPY . .
6060

6161
RUN set -euxo pipefail; \
62-
\
63-
mkdir -p bin; \
6462
\
6563
for bashbrewArch in $BASHBREW_ARCHES; do \
6664
( \
@@ -69,12 +67,11 @@ RUN set -euxo pipefail; \
6967
\
7068
targetBin="bin/bashbrew-$bashbrewArch$ext"; \
7169
go build \
72-
-a -v \
73-
-ldflags '-s -w' \
70+
-v -ldflags '-s -w' \
7471
-tags netgo -installsuffix netgo \
7572
-o "$targetBin" \
7673
-mod vendor \
77-
bashbrew/src/bashbrew \
74+
./cmd/bashbrew \
7875
; \
7976
ls -lAFh "$targetBin"; \
8077
file "$targetBin"; \

bashbrew.sh

Lines changed: 0 additions & 13 deletions
This file was deleted.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)