Skip to content

Commit

Permalink
New Solution
Browse files Browse the repository at this point in the history
  • Loading branch information
Vatsal Gupta committed Nov 21, 2024
1 parent 233fabf commit 3aea3f7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefiles/docker.mk
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ DOCKER_UID ?= $(shell id -u)
DOCKER_GID ?= $(shell id -g)

# Arguments to pass to the Docker command for setting user and mounting volumes.
DOCKER_USER_ARG ?= --privileged --user $(DOCKER_UID):$(DOCKER_GID)
DOCKER_USER_ARG ?= --user $(DOCKER_UID):$(DOCKER_GID)

# Name of the Docker image based on the repository root directory name.
DOCKER_BASE_IMG_NAME := $(PROJECT_NAME)
Expand Down
5 changes: 3 additions & 2 deletions Makefiles/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@
.PHONY: all test clean

BUILD_TOOL := bazel
BUILD_CMD := $(BUILD_TOOL) build //$(TOP_DIR):all
TEST_CMD := $(BUILD_TOOL) test //$(TOP_DIR):test
BUILD_OUT_DIR := --output_base=$(PROJECT_NAME)
BUILD_CMD := $(BUILD_TOOL) build //$(TOP_DIR):all $(BUILD_OUT_DIR)
TEST_CMD := $(BUILD_TOOL) test //$(TOP_DIR):test $(BUILD_OUT_DIR)
RUN_CMD := $(BUILD_TOOL) run //$(TOP_DIR):main
CLEAN_CMD := $(BUILD_TOOL) clean --async
SONAR_CMD := $(BUILD_TOOL) run @hedron_compile_commands//:refresh_all -- --compilation_mode=dbg

0 comments on commit 3aea3f7

Please sign in to comment.