From 114b4c14b579cd36fd0e7b94c2f88f1098f38898 Mon Sep 17 00:00:00 2001 From: Aleksey Savchuk Date: Tue, 17 Sep 2024 10:11:12 +0300 Subject: [PATCH] [#269] Makefile: Update policy target The previous policy target generated device-specific comments (e.g., `/home/john_doe/repos/<...>`), which could result in unnecessary file changes This behavior would confuse git and require manual changes to resolve. The update ensures comments are now device-agnostic, preventing unwanted changes. Signed-off-by: Aleksey Savchuk --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index a7c027c..6a9bb9a 100755 --- a/Makefile +++ b/Makefile @@ -53,7 +53,8 @@ format: policy: @wget -q https://www.antlr.org/download/antlr-${ANTLR_VERSION}-complete.jar -O antlr4-tool.jar - @java -Xmx500M -cp "`pwd`/antlr4-tool.jar" "org.antlr.v4.Tool" -o `pwd`/netmap/parser/ -Dlanguage=Go -no-listener -visitor `pwd`/netmap/parser/Query.g4 `pwd`/netmap/parser/QueryLexer.g4 + @java -Xmx500M -cp antlr4-tool.jar org.antlr.v4.Tool -Dlanguage=Go \ + -no-listener -visitor netmap/parser/Query.g4 netmap/parser/QueryLexer.g4 # Run `make %` in truecloudlab/frostfs-sdk-go container(Golang+Java) docker/%: