Skip to content

Commit 59edace

Browse files
committed
test: wildcard handler
1 parent adda3dd commit 59edace

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

Diff for: .github/workflows/test.yml

-3
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,4 @@ jobs:
2121
go-version: 'stable'
2222
- run: go get github.com/gnoswap-labs/gno/gnovm/cmd/gno
2323
- run: go mod download -x
24-
- run: pwd
25-
- run: ls -la
26-
- run: ls -al /home/runner/work/gnoswap/gnoswap/__local/grc20_tokens/*
2724
- run: make test.pool

Diff for: Makefile

+4-2
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,10 @@ test.prepare:
3333
cp -r "$(GNOROOT)/examples/$$i" ".test/examples/$$i";\
3434
done
3535
# Copy over gnoswap code.
36-
cp -r "$(PWD)/__local/grc20_tokens/foo" ".test/examples/gno.land/r/demo/foo" # test tokens
37-
cp -R "$(PWD)/__local/grc20_tokens/*" ".test/examples/gno.land/r/demo" # test tokens
36+
37+
TEST_TOKENS := $(wildcard $(PWD)__local/grc20_tokens/*)
38+
39+
cp -R "$(TEST_TOKENS)" ".test/examples/gno.land/r/demo" # test tokens
3840
cp -R "$(PWD)/_deploy/r/demo/*" ".test/examples/gno.land/r/demo" # gnft, gns
3941

4042
cp -R "$(PWD)/_deploy/p/demo/gnoswap" ".test/examples/gno.land/p/demo" # gnoswap base package

0 commit comments

Comments
 (0)