Skip to content

Commit

Permalink
update go
Browse files Browse the repository at this point in the history
  • Loading branch information
rohitpaulk committed Jul 19, 2024
1 parent 0544eeb commit 55ddcbf
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion compiled_starters/go/.codecrafters/compile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@

set -e # Exit on failure

go build -o /tmp/codecrafters-build-grep-go app/*.go
go build -o /tmp/codecrafters-build-grep-go cmd/mygrep/main.go
2 changes: 1 addition & 1 deletion compiled_starters/go/your_program.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ set -e # Exit early if any commands fail
# - Edit .codecrafters/compile.sh to change how your program compiles remotely
(
cd "$(dirname "$0")" # Ensure compile steps are run within the repository directory
go build -o /tmp/codecrafters-build-grep-go app/*.go
go build -o /tmp/codecrafters-build-grep-go cmd/mygrep/main.go
)

# Copied from .codecrafters/run.sh
Expand Down
2 changes: 1 addition & 1 deletion solutions/go/01-cq2/code/.codecrafters/compile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@

set -e # Exit on failure

go build -o /tmp/codecrafters-build-grep-go app/*.go
go build -o /tmp/codecrafters-build-grep-go cmd/mygrep/main.go
2 changes: 1 addition & 1 deletion solutions/go/01-cq2/code/your_program.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ set -e # Exit early if any commands fail
# - Edit .codecrafters/compile.sh to change how your program compiles remotely
(
cd "$(dirname "$0")" # Ensure compile steps are run within the repository directory
go build -o /tmp/codecrafters-build-grep-go app/*.go
go build -o /tmp/codecrafters-build-grep-go cmd/mygrep/main.go
)

# Copied from .codecrafters/run.sh
Expand Down
2 changes: 1 addition & 1 deletion starter_templates/go/code/.codecrafters/compile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@

set -e # Exit on failure

go build -o /tmp/codecrafters-build-grep-go app/*.go
go build -o /tmp/codecrafters-build-grep-go cmd/mygrep/main.go

0 comments on commit 55ddcbf

Please sign in to comment.