Skip to content

Commit 0ed0e74

Browse files
committed
YeS
1 parent 6e8b86b commit 0ed0e74

File tree

4 files changed

+72
-1171
lines changed

4 files changed

+72
-1171
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,5 @@ file_volume/
2020
./file-volume/
2121
./git/
2222
.DS_Store
23+
24+
lsp-log.txt

Makefile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,12 +85,13 @@ version = 11
8585
test:
8686
cabal run wasm-calc$(version):tests
8787

88-
# run with `make format-all-files version=7` to format all static `.calc` files for wasm-calc7
88+
# run with `make format-all-files version=7` to format all `.calc` files for wasm-calc7
8989
.PHONY: format-all-files
9090
version = 11
91-
STATIC_FILES = "./wasm-calc$(version)/test/static/"
91+
STATIC_FILES = "./wasm-calc$(version)/**/*.calc"
9292
format-all-files:
93-
find $(STATIC_FILES) -maxdepth 1 -type f -exec cabal run wasm-calc$(version) -- format {} \;
93+
find $(STATIC_FILES) -maxdepth 1 -type f -exec \
94+
nix run .#wasm-calc$(version) format {} \;
9495

9596
# run with `make build-malloc version=9` to build and diff malloc.calc for
9697
# wasm-calc9

0 commit comments

Comments
 (0)