Skip to content

Commit

Permalink
Move contrib/ in scripts/ (CosmWasm#1848)
Browse files Browse the repository at this point in the history
  • Loading branch information
pinosu authored Apr 2, 2024
1 parent 8c9a744 commit f71e3bd
Show file tree
Hide file tree
Showing 24 changed files with 9 additions and 10 deletions.
1 change: 0 additions & 1 deletion .codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ flags:

ignore:
- "cmd/"
- "contrib/"
- "docs/"
- "docker/"
- "scripts/"
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ ldflags := $(strip $(ldflags))
BUILD_FLAGS := -tags "$(build_tags_comma_sep)" -ldflags '$(ldflags)' -trimpath

# The below include contains the tools and runsim targets.
include contrib/devtools/Makefile
include scripts/contrib/devtools/Makefile

all: install lint test

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ Generate protobuf
make proto-gen
```

The generators are executed within a Docker [container](./contrib/prototools-docker), now.
The generators are executed within a Docker [container](./scripts/contrib/prototools-docker), now.

## Dockerized

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
8 changes: 4 additions & 4 deletions contrib/local/README.md → scripts/contrib/local/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ For manual testing. Works on my box(*) ...

```
make install
cd contrib/local
cd scripts/contrib/local
rm -rf /tmp/trash
HOME=/tmp/trash bash setup_wasmd.sh
HOME=/tmp/trash bash start_node.sh
Expand All @@ -15,9 +15,9 @@ HOME=/tmp/trash bash start_node.sh
Next shell:

```
cd contrib/local
./01-accounts.sh
./02-contracts.sh
cd scripts/contrib/local
HOME=/tmp/trash bash 01-accounts.sh
HOME=/tmp/trash bash 02-contracts.sh
```

## Shell script development
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Note the `format` parameter in the request for the endpoint:
## Run Prometheus
```sh
# port 9090 is used by wasmd already
docker run -it -v $(pwd)/contrib/prometheus:/prometheus -p9091:9090 prom/prometheus --config.file=/prometheus/prometheus.yaml
docker run -it -v $(pwd)/scripts/contrib/prometheus:/prometheus -p9091:9090 prom/prometheus --config.file=/prometheus/prometheus.yaml
```
* Open [console](http://localhost:9091) and find `wasm_`service metrics

Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Installs generators and tools from:

### Build
```shell script
docker build -t cosmwasm/prototools-docker -f ./contrib/prototools-docker/Dockerfile .
docker build -t cosmwasm/prototools-docker -f ./scripts/contrib/prototools-docker/Dockerfile .
```

```shell script
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Relayer tests

These scripts helps to test go-relayer with two local wasmd chains. \
Make sure you run below scripts under `wasmd/contrib/relayer-tests` directory.
Make sure you run below scripts under `wasmd/scripts/contrib/relayer-tests` directory.

- `./init_two_chainz_relayer.sh` will spin two chains and runs
- `./one_chain.sh` will spin a single chain. This script used by the one above
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit f71e3bd

Please sign in to comment.