Invalidate C++ app
This commit is contained in:
parent
6eb0e61426
commit
fda60ba538
1
Makefile
1
Makefile
|
@ -6,6 +6,7 @@ BUILD:=_build
|
||||||
core:
|
core:
|
||||||
dune build src/core/cbindings.exe.o
|
dune build src/core/cbindings.exe.o
|
||||||
ar -rs $(BUILD)/liboboycore.a _build/default/src/core/cbindings.exe.o
|
ar -rs $(BUILD)/liboboycore.a _build/default/src/core/cbindings.exe.o
|
||||||
|
scripts/invalidate_cpp.sh
|
||||||
|
|
||||||
# check:
|
# check:
|
||||||
# ocamlbuild -use-ocamlfind -I src -lflag -g test/test_bit.byte --
|
# ocamlbuild -use-ocamlfind -I src -lflag -g test/test_bit.byte --
|
||||||
|
|
9
scripts/invalidate_cpp.sh
Executable file
9
scripts/invalidate_cpp.sh
Executable file
|
@ -0,0 +1,9 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
for dir in _build/qt/*; do
|
||||||
|
pushd $dir
|
||||||
|
cmake --build . --target clean
|
||||||
|
popd
|
||||||
|
done
|
Loading…
Reference in a new issue