dblume commited on 2022-04-16 18:16:46
Showing 1 changed files, with 2 additions and 2 deletions.
... | ... |
@@ -23,7 +23,7 @@ only need the `git ls-files` for `entr`, but I provide a bash command group with |
23 | 23 |
`find` here so I can easily copy and change it as needed. |
24 | 24 |
|
25 | 25 |
{ git ls-files && find . -type f -regex '.*\.\(cfg\|local\)'; } | \ |
26 |
- entr -c sh -c 'ctags -R *; make -j$(nproc) && valgrind --leak-check=yes product/testcode' |
|
26 |
+ entr -c sh -c 'ctags -R *; make -j$(nproc) && valgrind -q --leak-check=yes product/testcode' |
|
27 | 27 |
|
28 | 28 |
`find` could also have been `find . -type f \( -name \*.cfg -or -name \*.local \)`. |
29 | 29 |
|
... | ... |
@@ -42,7 +42,7 @@ See [this QuickFix tip for sorting results by filename](http://git.dlma.com/dotf |
42 | 42 |
|
43 | 43 |
[This entr command is handy](https://twitter.com/dblume/status/1421011043489255424) when composing interview questions without a Makefile: |
44 | 44 |
|
45 |
- ls -1 *.h *.cpp | entr sh -c 'g++ -Wall -std=c++17 -pthread *.cpp && valgrind --leak-check=yes ./a.out' |
|
45 |
+ ls -1 *.h *.cpp | entr sh -c 'g++ -Wall -std=c++17 -pthread *.cpp && valgrind -q --leak-check=yes ./a.out' |
|
46 | 46 |
|
47 | 47 |
### Visual Studio Code and WSL2 |
48 | 48 |
|
49 | 49 |