Commit 5dcab86f authored by refcell.eth's avatar refcell.eth Committed by GitHub

chore: clean up makefiles across the monorepo (#8862)

parent cff8fa7e
......@@ -29,8 +29,8 @@ alphabet-actors:
./scripts/alphabet/charlie.sh 'charlie'
.PHONY: \
clean \
op-challenger \
clean \
test \
visualize \
alphabet \
......
......@@ -20,7 +20,7 @@ generate-mocks:
go generate ./...
.PHONY: \
clean \
op-conductor \
clean \
test \
generate-mocks
......@@ -19,5 +19,4 @@ test:
.PHONY: \
clean \
op-heartbeat \
test \
lint
test
......@@ -38,6 +38,4 @@ generate-mocks:
op-node \
clean \
test \
lint \
fuzz \
generate-mocks
fuzz
......@@ -50,6 +50,12 @@ run-goerli-verify: op-program-host op-program-client
.PHONY: \
op-program \
op-program-host \
op-program-client \
op-program-client-mips \
clean \
test \
lint
verify-goerli \
capture-goerli-verify \
capture-chain-test-data \
run-goerli-verify
......@@ -25,15 +25,6 @@ To run op-program unit tests, from within the `op-program` directory run:
make test
```
## Lint
To run the linter, from within the `op-program` directory run:
```shell
make lint
```
This requires having `golangci-lint` installed.
## Running
From within the `op-program` directory, options can be reviewed with:
......
......@@ -19,5 +19,4 @@ test:
.PHONY: \
clean \
op-proposer \
test \
lint
test
......@@ -4,14 +4,13 @@ test:
generate-mocks:
go generate ./...
.PHONY: \
test \
lint \
generate-mocks \
fuzz
fuzz:
go test -run NOTAREALTEST -v -fuzztime 10s -fuzz FuzzExecutionPayloadUnmarshal ./eth
go test -run NOTAREALTEST -v -fuzztime 10s -fuzz FuzzExecutionPayloadMarshalUnmarshalV1 ./eth
go test -run NOTAREALTEST -v -fuzztime 10s -fuzz FuzzExecutionPayloadMarshalUnmarshalV2 ./eth
go test -run NOTAREALTEST -v -fuzztime 10s -fuzz FuzzOBP01 ./eth
.PHONY: \
test \
generate-mocks \
fuzz
......@@ -18,7 +18,7 @@ test:
lint:
go vet ./...
.PHONY: test
.PHONY: lint
tls:
kubectl get secrets op-ufm-client-tls -o yaml | yq '.data."tls.key"' | base64 --decode > tls/tls.key
......
......@@ -9,3 +9,6 @@ LDFLAGS := -ldflags "$(LDFLAGSSTRING)"
op-wheel:
env GO111MODULE=on GOOS=$(TARGETOS) GOARCH=$(TARGETARCH) go build -v $(LDFLAGS) -o ./bin/op-wheel ./cmd
.PHONY: \
op-wheel
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment