Makefile: Make validate-wgsl target use new 'cli' sub-package.

This commit is contained in:
Jim Blandy 2021-06-14 09:27:16 -07:00 committed by Dzmitry Malyshau
parent 343f786492
commit 976ae3a9ff

View File

@ -61,7 +61,7 @@ validate-dot: $(SNAPSHOTS_OUT)/*.dot
validate-wgsl: $(SNAPSHOTS_OUT)/*.wgsl
@set -e && for file in $^ ; do \
echo "Validating" $${file#"$(SNAPSHOTS_OUT)/"}; \
cargo run --features wgsl-in $${file}; \
cargo run $${file}; \
done
validate-hlsl: $(SNAPSHOTS_OUT)/*.hlsl