Move contrib/ in scripts/ (#1848)
This commit is contained in:
@@ -45,7 +45,6 @@ flags:
|
||||
|
||||
ignore:
|
||||
- "cmd/"
|
||||
- "contrib/"
|
||||
- "docs/"
|
||||
- "docker/"
|
||||
- "scripts/"
|
||||
|
||||
2
Makefile
2
Makefile
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user