Fix installing naga-cli from git (#2398)

Move hl-snapshots out from the xtask workspace, since it's also used as
a dev dependency in the naga crate itself for a test.
This commit is contained in:
Fredrik Fornwall authored and GitHub committed 2023-07-08 01:33:48 +02:00
1 parent 7624d6c78e
commit 981c1f9196
5 files changed
+3 -4

No files matched your search

+1
View File
@@ -6,6 +6,7 @@ on:
- 'tests/out/hlsl/*.hlsl'
- 'tests/out/hlsl/*.ron'
- 'xtask/**'
- 'hlsl-snapshots/**'
jobs:
validate-windows-dxc:
+1 -1
View File
@@ -69,7 +69,7 @@ bincode = "1"
criterion = { version = "0.3", features = [] }
diff = "0.1"
env_logger = "0.9"
hlsl-snapshots = { path = "./xtask/hlsl-snapshots"}
hlsl-snapshots = { path = "./hlsl-snapshots"}
# Require at least version 0.7.1 of ron, this version changed how floating points are
# serialized by forcing them to always have the decimal part, this makes it backwards
# incompatible with our tests because we do a syntatic diff and not a semantic one.
File renamed without changes.
File renamed without changes.
+1 -3
View File
@@ -8,12 +8,10 @@ publish = false
anyhow = "1"
env_logger = { version = "0.10.0", default-features = false }
glob = "0.3.1"
hlsl-snapshots = { path = "./hlsl-snapshots"}
hlsl-snapshots = { path = "../hlsl-snapshots"}
log = "0.4.17"
pico-args = "0.5.0"
shell-words = "1.1.0"
which = "4.4.0"
[workspace]
members = [".", "./hlsl-snapshots"]