Skip to content

Commit

Permalink
wip: mkdir bin
Browse files Browse the repository at this point in the history
  • Loading branch information
shoenig committed Nov 14, 2024
1 parent 3188915 commit c54a244
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -179,11 +179,10 @@ last_release := '1.9.3'
# Compile development build.
[group('build')]
@dev:
echo "flags are {{go_ldflags}}"
just clean
just hclfmt
go build -o {{go_target_pkg}} -trimpath -ldflags '{{go_ldflags}}' -tags '{{go_tags}}'
mkdir {{go_target_bin}}
mkdir -p bin
cp {{go_target_pkg}} {{go_target_bin}}

# Tidy up the go mod files.
Expand Down Expand Up @@ -243,10 +242,9 @@ last_release := '1.9.3'

# Test Nomad sub-module.
[group('testing')]
[positional-arguments]
@test-nomad-sub module: dev
echo "==> Running Nomad unit test on submodule \"${1}\" ..."
cd ${1}; gotestsum \
echo "==> Running Nomad unit test on submodule {{module}} ..."
cd {{module}}; gotestsum \
--format=testname \
--rerun-fails=3 \
--packages=./... \
Expand Down

0 comments on commit c54a244

Please sign in to comment.