You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can anyone suggest or update readme which version of bazel and go to be used to have a local setup and run the instance.I am facing compataibility issues with go 1.22.0 and bazel 7.3.0 homebrew version
The text was updated successfully, but these errors were encountered:
SRC=$(PWD)BIN_ROOT=$(PWD)/.bin
#export PATH:=$(BIN_ROOT):$(PATH)exportLOCAL_DIR=$(PWD)GEN_BIN_NAME=generator
GEN_CMD=./$(GEN_BIN_NAME)SIM_BIN_NAME=simulator
SIM_CMD=./$(SIM_BIN_NAME)all: init bin run-sim
init:
# only run once !!cd cmd/generator && go mod init generator
cd cmd/generator && go mod tidy
cd cmd/simulator && go mod init simulator
cd cmd/simulator && go mod tidy
bin:
mkdir -p $(BIN_ROOT)cd cmd/generator && go build -o $(BIN_ROOT)/$(GEN_BIN_NAME).cd cmd/simulator && go build -o $(BIN_ROOT)/$(SIM_BIN_NAME).
cp $(BIN_ROOT)/$(GEN_BIN_NAME) $(SRC)
cp $(BIN_ROOT)/$(SIM_BIN_NAME) $(SRC)
bin-del:
rm -f $(SRC)/$(GEN_BIN_NAME)
rm -f $(SRC)/$(SIM_BIN_NAME)test:
cd cmd/generator && go test -v ./...
#cd cmd/generator && go test -bench=.
cd cmd/simulator && go test -v --local_path=$(LOCAL_DIR) .
#cd cmd/simulator && go test -bench=.run-docker:
docker run --rm -it -p 8000:8000 eu.gcr.io/simhospital-images/simhospital:latest health/simulator
run-gen-h:
$(GEN_CMD) -h
run-gen:
$(GEN_CMD)run-sim-h:
$(SIM_CMD) -h
run-sim:
# http://localhost:8000/simulated-hospital/$(SIM_CMD) -log_level=DEBUG
Can anyone suggest or update readme which version of bazel and go to be used to have a local setup and run the instance.I am facing compataibility issues with go 1.22.0 and bazel 7.3.0 homebrew version
The text was updated successfully, but these errors were encountered: