[sledge] Build: Rename bin dir to cli

Summary:
Just to avoid confusion over directories named 'bin' being expected to
contain binaries, rather than the sources of executables.

Reviewed By: jvillard

Differential Revision: D23636372

fbshipit-source-id: 8593380e6
master
Josh Berdine 4 years ago committed by Facebook GitHub Bot
parent da348a603b
commit 0f7ecbe9fe

@ -6,7 +6,7 @@
.PHONY: default .PHONY: default
default: exes default: exes
EXES = bin/sledge_cli report/sledge_report EXES = cli/sledge_cli report/sledge_report
INSTALLS = sledge INSTALLS = sledge
DEBUG_TARGETS = $(patsubst %,_build/debug/%.exe,$(EXES)) $(patsubst %,_build/debug/%.install,$(INSTALLS)) DEBUG_TARGETS = $(patsubst %,_build/debug/%.exe,$(EXES)) $(patsubst %,_build/debug/%.install,$(INSTALLS))

@ -114,7 +114,7 @@
(public_name sledge.model))) (public_name sledge.model)))
(subdir (subdir
bin cli
(executable (executable
(name sledge_cli) (name sledge_cli)
(public_name sledge) (public_name sledge)
@ -132,8 +132,8 @@
(rule (rule
(targets sledge-help.txt) (targets sledge-help.txt)
(deps bin/sledge_cli.ml bin/sledge_buck.ml tools/gen_help.sh (deps cli/sledge_cli.ml cli/sledge_buck.ml tools/gen_help.sh
bin/sledge_cli.exe) cli/sledge_cli.exe)
(action (action
(with-stdout-to (with-stdout-to
sledge-help.txt sledge-help.txt

@ -7,8 +7,8 @@
CLANG_ARGS?=-O0 CLANG_ARGS?=-O0
# executable to test # executable to test
SLEDGE_DBG=$(CURDIR)/../_build/debug/bin/sledge_cli.exe SLEDGE_DBG=$(CURDIR)/../_build/debug/cli/sledge_cli.exe
SLEDGE_OPT=$(CURDIR)/../_build/release/bin/sledge_cli.exe SLEDGE_OPT=$(CURDIR)/../_build/release/cli/sledge_cli.exe
# additional arguments to pass to sledge # additional arguments to pass to sledge
SLEDGE_ARGS?= SLEDGE_ARGS?=

Loading…
Cancel
Save