From 55ddcbf9143f724c92e4ba655cf65b6944bb7d47 Mon Sep 17 00:00:00 2001 From: Paul Kuruvilla Date: Fri, 19 Jul 2024 12:41:15 +0100 Subject: [PATCH] update go --- compiled_starters/go/.codecrafters/compile.sh | 2 +- compiled_starters/go/your_program.sh | 2 +- solutions/go/01-cq2/code/.codecrafters/compile.sh | 2 +- solutions/go/01-cq2/code/your_program.sh | 2 +- starter_templates/go/code/.codecrafters/compile.sh | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/compiled_starters/go/.codecrafters/compile.sh b/compiled_starters/go/.codecrafters/compile.sh index faac5f0..3b3e7d6 100755 --- a/compiled_starters/go/.codecrafters/compile.sh +++ b/compiled_starters/go/.codecrafters/compile.sh @@ -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 diff --git a/compiled_starters/go/your_program.sh b/compiled_starters/go/your_program.sh index 13b76d8..39364f8 100755 --- a/compiled_starters/go/your_program.sh +++ b/compiled_starters/go/your_program.sh @@ -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 diff --git a/solutions/go/01-cq2/code/.codecrafters/compile.sh b/solutions/go/01-cq2/code/.codecrafters/compile.sh index faac5f0..3b3e7d6 100755 --- a/solutions/go/01-cq2/code/.codecrafters/compile.sh +++ b/solutions/go/01-cq2/code/.codecrafters/compile.sh @@ -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 diff --git a/solutions/go/01-cq2/code/your_program.sh b/solutions/go/01-cq2/code/your_program.sh index 13b76d8..39364f8 100755 --- a/solutions/go/01-cq2/code/your_program.sh +++ b/solutions/go/01-cq2/code/your_program.sh @@ -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 diff --git a/starter_templates/go/code/.codecrafters/compile.sh b/starter_templates/go/code/.codecrafters/compile.sh index faac5f0..3b3e7d6 100755 --- a/starter_templates/go/code/.codecrafters/compile.sh +++ b/starter_templates/go/code/.codecrafters/compile.sh @@ -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