Skip to content

Commit

Permalink
Build standard capabilities
Browse files Browse the repository at this point in the history
  • Loading branch information
justinkaseman committed Dec 16, 2024
1 parent d4f8496 commit 9b36109
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
12 changes: 9 additions & 3 deletions tools/bin/goreleaser_utils
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ set -xe
before_hook() {
local -r lib_path=tmp

echo $(ls)
echo $(ls ..)

mkdir -p "$lib_path/libs"
# Copy over all platform versions of the wasmvm library
cp -f "$(go list -json -m github.com/CosmWasm/wasmvm | jq -r '.Dir')"/internal/api/libwasmvm.* "$lib_path/libs"
Expand Down Expand Up @@ -74,7 +71,16 @@ get_remote_plugin_paths() {
done
}

build_standard_capabilities() {
ls ../
# cd ../capabilities/cron
# go install "${ldflags[@]}" .
# cd ../chainlink
}

install_remote_plugins() {
build_standard_capabilities

ldflags=(-ldflags "$(./tools/bin/ldflags)")

for plugin in $(get_remote_plugin_paths); do
Expand Down
2 changes: 1 addition & 1 deletion tools/goreleaser-config/gen_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ func Generate(environment string) config.Project {
Cmd: "go mod tidy",
},
{
Cmd: "./tools/bin/goreleaser_utils before_hook", // modify this to include capabilities
Cmd: "./tools/bin/goreleaser_utils before_hook",
},
},
},
Expand Down

0 comments on commit 9b36109

Please sign in to comment.