Skip to content

Commit

Permalink
[JSON] Suppress command echo to stdout
Browse files Browse the repository at this point in the history
Currently, when executing `make json`, the command itself is echoed,
causing issues with the JSON representation.

This PR Suppress this echoing, ensuring a proper JSON output
without the need for any manual editing later on.
  • Loading branch information
snapdgn authored and ThinkOpenly committed Mar 27, 2024
1 parent fea855c commit aa8d4e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ all: ocaml_emulator/riscv_ocaml_sim_$(ARCH) c_emulator/riscv_sim_$(ARCH) riscv_i
.PHONY: all

json: $(SAIL_SRCS) model/main.sail Makefile
sail -json $(SAIL_FLAGS) $(SAIL_SRCS)
@sail -json $(SAIL_FLAGS) $(SAIL_SRCS)

output: $(SAIL_SRCS) model/main.sail Makefile
sail -output-sail $(SAIL_FLAGS) $(SAIL_SRCS)
Expand Down

0 comments on commit aa8d4e3

Please sign in to comment.