Skip to content

Commit 799291a

Browse files
soonumtmontaigu
authored andcommitted
docs(tfhe): format sha256_bool and add make recipes to run it
1 parent 509fe7a commit 799291a

File tree

5 files changed

+371
-165
lines changed

5 files changed

+371
-165
lines changed

Makefile

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,12 @@ test_regex_engine: install_rs_build_toolchain
252252
--example regex_engine \
253253
--features=$(TARGET_ARCH_FEATURE),integer
254254

255+
.PHONY: test_sha256_bool # Run tests for sha256_bool example
256+
test_sha256_bool: install_rs_build_toolchain
257+
RUSTFLAGS="$(RUSTFLAGS)" cargo $(CARGO_RS_BUILD_TOOLCHAIN) test --profile $(CARGO_PROFILE) \
258+
--example sha256_bool \
259+
--features=$(TARGET_ARCH_FEATURE),boolean
260+
255261
.PHONY: doc # Build rust doc
256262
doc: install_rs_check_toolchain
257263
RUSTDOCFLAGS="--html-in-header katex-header.html -Dwarnings" \
@@ -350,6 +356,12 @@ dark_market: install_rs_check_toolchain
350356
--features=$(TARGET_ARCH_FEATURE),integer,internal-keycache \
351357
-- fhe-modified fhe-parallel plain fhe
352358

359+
.PHONY: sha256_bool # Run sha256_bool example
360+
sha256_bool: install_rs_check_toolchain
361+
RUSTFLAGS="$(RUSTFLAGS)" cargo $(CARGO_RS_CHECK_TOOLCHAIN) run --profile $(CARGO_PROFILE) \
362+
--example sha256_bool \
363+
--features=$(TARGET_ARCH_FEATURE),boolean
364+
353365
.PHONY: pcc # pcc stands for pre commit checks
354366
pcc: no_tfhe_typo check_fmt doc clippy_all check_compile_tests
355367

0 commit comments

Comments
 (0)