forked from TrueCloudLab/frostfs-sdk-go
[#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 <a.savchuk@yadro.com>
This commit is contained in:
parent
e580ee991d
commit
114b4c14b5
1 changed files with 2 additions and 1 deletions
3
Makefile
3
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/%:
|
||||
|
|
Loading…
Reference in a new issue