-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add a Makefile for common tasks
- Loading branch information
Showing
1 changed file
with
15 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
SCENARIOS=$(shell ls bin/tests/scenarios) | ||
LANGUAGE=java | ||
SUFFIX=.java | ||
LOG_LEVEL=debug | ||
|
||
run_merge_on_dir: | ||
cargo run -- merge --left-path=$(DIR)/left$(SUFFIX) --base-path=$(DIR)/base$(SUFFIX) --right-path=$(DIR)/right$(SUFFIX) --merge-path=$(DIR)/merge.output$(SUFFIX) --log-level=$(LOG_LEVEL) --language=$(LANGUAGE) | ||
|
||
run_diff: | ||
cargo run -- diff --left-path=$(LEFT_PATH) --right-path=$(RIGHT_PATH) --language=$(LANGUAGE) --log-level=$(LOG_LEVEL) | ||
|
||
rebuild_snapshots: | ||
for SCENARIO in $(SCENARIOS); do \ | ||
make run_merge_on_dir DIR=bin/tests/scenarios/$$SCENARIO; \ | ||
done |