Move contrib/ in scripts/ (#1848)

This commit is contained in:
pinosu
2024-04-02 13:28:28 +02:00
committed by GitHub
parent 8c9a744b76
commit f71e3bd89d
24 changed files with 9 additions and 10 deletions

View File

@@ -45,7 +45,6 @@ flags:
ignore:
- "cmd/"
- "contrib/"
- "docs/"
- "docker/"
- "scripts/"

View File

@@ -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

View File

@@ -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

View File

@@ -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
@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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