Skip to content

Commit

Permalink
one liner for suavedevtools command
Browse files Browse the repository at this point in the history
  • Loading branch information
jinmel committed Feb 24, 2024
1 parent ce4994a commit b6f0b61
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,11 @@ devtools:

suavedevtools:
go run ./suave/gen/main.go -write
cd core/types; go run github.com/fjl/gencodec -type BuildBlockArgs -field-override buildBlockArgsMarshaling -out gen_build_block_args_json.go
cd core/types; go run github.com/fjl/gencodec -type DataRecord -field-override dataRecordMarshaling -out gen_data_record_json.go
cd core/types; go run github.com/fjl/gencodec -type HttpRequest -field-override httpRequestMarshaling -out gen_http_request_json.go
cd core/types; go run github.com/fjl/gencodec -type SimulatedLog -field-override simulatedLogMarshaling -out gen_simulated_log_json.go
cd core/types && \
go run github.com/fjl/gencodec -type BuildBlockArgs -field-override buildBlockArgsMarshaling -out gen_build_block_args_json.go && \
go run github.com/fjl/gencodec -type DataRecord -field-override dataRecordMarshaling -out gen_data_record_json.go && \
go run github.com/fjl/gencodec -type HttpRequest -field-override httpRequestMarshaling -out gen_http_request_json.go && \
go run github.com/fjl/gencodec -type SimulatedLog -field-override simulatedLogMarshaling -out gen_simulated_log_json.go

devnet-up:
docker-compose -f ./suave/devenv/docker-compose.yml up -d --build
Expand Down

0 comments on commit b6f0b61

Please sign in to comment.