7cc1988962
Adding docker-compose.dev.yml and Dockerfile.dev to mount the current dir and call a script to conditionally build for fast iteration
13 lines
305 B
Bash
Executable File
13 lines
305 B
Bash
Executable File
#!/bin/sh
|
|
|
|
cd /go-ethereum
|
|
|
|
echo "*** Running Linter ***"
|
|
go run build/ci.go lint || { echo 'linter failed' ; exit 1; }
|
|
|
|
echo "\n*** Linter succeeded ***\n"
|
|
|
|
echo "*** Running Tests ***"
|
|
go run build/ci.go test -coverage $TEST_PACKAGES || { echo 'tests failed' ; exit 1; }
|
|
|
|
echo "\n*** Tests Passed ***\n" |