From 5d377da84973b771190fad033960902b1d4d7adc Mon Sep 17 00:00:00 2001 From: Justin Kaseman Date: Mon, 16 Dec 2024 21:18:17 -0800 Subject: [PATCH] npx --- tools/bin/goreleaser_utils | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tools/bin/goreleaser_utils b/tools/bin/goreleaser_utils index 6bca0aca1f7..33d6d8b3c66 100755 --- a/tools/bin/goreleaser_utils +++ b/tools/bin/goreleaser_utils @@ -13,6 +13,7 @@ before_hook() { install_local_plugins install_remote_plugins mkdir -p "$lib_path/plugins" + build_standard_capabilities # Retrieve GOPATH GOPATH=$(go env GOPATH) @@ -72,9 +73,12 @@ get_remote_plugin_paths() { } build_standard_capabilities() { + cd ./capabilities + npx nx@19.8.2 init ./nx run-many -t build # binaries get put into /bin under /bin/amd64 and /bin/arm64 - cp "./bin/$(go env GOARCH)"/* "$lib_path/plugins" + cp "./bin/$(go env GOARCH)"/* "$lib_path/plugins" + cd ../ } install_remote_plugins() { @@ -84,7 +88,6 @@ install_remote_plugins() { go install "${ldflags[@]}" "$plugin" done - build_standard_capabilities } # binary build post hook