mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-19 14:01:08 +01:00
25 lines
576 B
Nu
25 lines
576 B
Nu
# Quick maintenance script which broadcasts the license files to all crates
|
|
# that are released on crates.io
|
|
|
|
# Change to the root of the repository
|
|
cd ($env.FILE_PWD | path dirname)
|
|
|
|
let crates = [
|
|
"wgpu",
|
|
"wgpu-core",
|
|
"wgpu-core/platform-deps/apple",
|
|
"wgpu-core/platform-deps/emscripten",
|
|
"wgpu-core/platform-deps/wasm",
|
|
"wgpu-core/platform-deps/windows-linux-android",
|
|
"wgpu-hal",
|
|
"wgpu-info",
|
|
"wgpu-naga-bridge",
|
|
"wgpu-types",
|
|
"naga",
|
|
"naga-cli",
|
|
]
|
|
|
|
for crate in $crates {
|
|
cp LICENSE.APACHE LICENSE.MIT $"./($crate)/"
|
|
}
|