[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
default: exes
EXES = bin/sledge_cli report/sledge_report
EXES = cli/sledge_cli report/sledge_report
INSTALLS = sledge
DEBUG_TARGETS = $(patsubst %,_build/debug/%.exe,$(EXES)) $(patsubst %,_build/debug/%.install,$(INSTALLS))

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

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

Loading…
Cancel
Save