Skip to content

Commit

Permalink
Stabilize ocaml build
Browse files Browse the repository at this point in the history
  • Loading branch information
mszabo-wikia committed Feb 1, 2025
1 parent 18627d9 commit c57068f
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 9 deletions.
19 changes: 12 additions & 7 deletions hphp/hack/Makefile.dune
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,18 @@ clean:
define build_hack
$(eval ext := $(if $(filter $(2),-debug),".bc",""))
build-hack$(2):
dune build \
src/hh_server.$(1) \
src/hh_client.$(1) \
src/hh_single_type_check.$(1) \
src/hackfmt.$(1) \
src/hh_parse.$(1) \
src/generate_full_fidelity.$(1)
rm -rf "$(DUNE_BUILD_DIR)/default/target/release"
dune build src/hh_server.$(1)
rm -rf "$(DUNE_BUILD_DIR)/default/target/release"
dune build src/hh_client.$(1)
rm -rf "$(DUNE_BUILD_DIR)/default/target/release"
dune build src/hh_single_type_check.$(1)
rm -rf "$(DUNE_BUILD_DIR)/default/target/release"
dune build src/hackfmt.$(1)
rm -rf "$(DUNE_BUILD_DIR)/default/target/release"
dune build src/hh_parse.$(1)
rm -rf "$(DUNE_BUILD_DIR)/default/target/release"
dune build src/generate_full_fidelity.$(1)

copy-hack$(2)-files: build-hack$(2)
mkdir -p "$(HACK_BIN_DIR)"
Expand Down
10 changes: 8 additions & 2 deletions hphp/hack/src/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c57068f

Please sign in to comment.