Skip to content

Commit f71e3bd

Browse files
authored
Move contrib/ in scripts/ (#1848)
1 parent 8c9a744 commit f71e3bd

24 files changed

+9
-10
lines changed

.codecov.yml

-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ flags:
4545

4646
ignore:
4747
- "cmd/"
48-
- "contrib/"
4948
- "docs/"
5049
- "docker/"
5150
- "scripts/"

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ ldflags := $(strip $(ldflags))
7474
BUILD_FLAGS := -tags "$(build_tags_comma_sep)" -ldflags '$(ldflags)' -trimpath
7575

7676
# The below include contains the tools and runsim targets.
77-
include contrib/devtools/Makefile
77+
include scripts/contrib/devtools/Makefile
7878

7979
all: install lint test
8080

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ Generate protobuf
139139
make proto-gen
140140
```
141141

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

144144
## Dockerized
145145

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

contrib/local/README.md renamed to scripts/contrib/local/README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ For manual testing. Works on my box(*) ...
66

77
```
88
make install
9-
cd contrib/local
9+
cd scripts/contrib/local
1010
rm -rf /tmp/trash
1111
HOME=/tmp/trash bash setup_wasmd.sh
1212
HOME=/tmp/trash bash start_node.sh
@@ -15,9 +15,9 @@ HOME=/tmp/trash bash start_node.sh
1515
Next shell:
1616

1717
```
18-
cd contrib/local
19-
./01-accounts.sh
20-
./02-contracts.sh
18+
cd scripts/contrib/local
19+
HOME=/tmp/trash bash 01-accounts.sh
20+
HOME=/tmp/trash bash 02-contracts.sh
2121
```
2222

2323
## Shell script development
File renamed without changes.
File renamed without changes.

contrib/prometheus/README.md renamed to scripts/contrib/prometheus/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Note the `format` parameter in the request for the endpoint:
3838
## Run Prometheus
3939
```sh
4040
# port 9090 is used by wasmd already
41-
docker run -it -v $(pwd)/contrib/prometheus:/prometheus -p9091:9090 prom/prometheus --config.file=/prometheus/prometheus.yaml
41+
docker run -it -v $(pwd)/scripts/contrib/prometheus:/prometheus -p9091:9090 prom/prometheus --config.file=/prometheus/prometheus.yaml
4242
```
4343
* Open [console](http://localhost:9091) and find `wasm_`service metrics
4444

contrib/prototools-docker/README.md renamed to scripts/contrib/prototools-docker/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Installs generators and tools from:
1313

1414
### Build
1515
```shell script
16-
docker build -t cosmwasm/prototools-docker -f ./contrib/prototools-docker/Dockerfile .
16+
docker build -t cosmwasm/prototools-docker -f ./scripts/contrib/prototools-docker/Dockerfile .
1717
```
1818

1919
```shell script

contrib/relayer-tests/README.md renamed to scripts/contrib/relayer-tests/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Relayer tests
22

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

66
- `./init_two_chainz_relayer.sh` will spin two chains and runs
77
- `./one_chain.sh` will spin a single chain. This script used by the one above

0 commit comments

Comments
 (0)