We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9d6c59b + 5bcca56 commit bb3ae95Copy full SHA for bb3ae95
Makefile
@@ -11,6 +11,9 @@ NIGHTLY_RUST_VERSION = "nightly"
11
# WebAssembly
12
WASM_BINDGEN_CLI_VERSION = "0.2.99"
13
14
+# TOML formatter
15
+TAPLO_CLI_VERSION = "0.9.3"
16
+
17
# Docker
18
DOCKER_ORG ?= o1labs
19
@@ -289,7 +292,11 @@ setup-wasm: ## Setup the WebAssembly toolchain, using nightly
289
292
290
293
.PHONY: setup-taplo
291
294
setup-taplo: ## Install taplo TOML formatter
- cargo install taplo-cli
295
+ @if taplo --version 2>/dev/null | grep -q ${TAPLO_CLI_VERSION}; then \
296
+ echo "taplo ${TAPLO_CLI_VERSION} already installed"; \
297
+ else \
298
+ cargo install taplo-cli --version ${TAPLO_CLI_VERSION} --force; \
299
+ fi
300
301
.PHONY: setup
302
setup: setup-taplo setup-wasm ## Setup development environment
0 commit comments