Skip to content

Commit 3ca88c2

Browse files
committed
improved just
1 parent 3b45075 commit 3ca88c2

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

justfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
alias c := clean
22

3+
gtest_filter := "*"
4+
35
[doc("list available recipes")]
46
default:
57
@just --list
@@ -17,7 +19,7 @@ build CONFIG="Debug":
1719
test CONFIG="Debug":
1820
cmake -G Xcode -B build
1921
cmake --build build --target yup_tests --config {{CONFIG}}
20-
build/tests/{{CONFIG}}/yup_tests --gtest_filter=*
22+
build/tests/{{CONFIG}}/yup_tests --gtest_filter={{gtest_filter}}
2123

2224
[doc("generate and open project in macOS using Xcode")]
2325
osx PROFILING="OFF":
@@ -70,9 +72,8 @@ emscripten CONFIG="Debug":
7072

7173
[doc("run tests for WASM")]
7274
emscripten_test CONFIG="Debug":
73-
emcmake cmake -G "Ninja Multi-Config" -B build
7475
@just build {{CONFIG}}
75-
node build/tests/{{CONFIG}}/yup_tests.js --gtest_filter=*
76+
node build/tests/{{CONFIG}}/yup_tests.js --gtest_filter={{gtest_filter}}
7677

7778
[doc("serve project for WASM")]
7879
emscripten_serve CONFIG="Debug":

0 commit comments

Comments
 (0)