mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-26 01:18:28 +00:00
feat(rust): use symlink for trezor-client/protob
to satisfy cargo publish --dry-run it seems there is something smart going on and the symlink is expanded to file copies during the build [no changelog]
This commit is contained in:
parent
880e012e5c
commit
b4825f408a
@ -1,7 +1,7 @@
|
|||||||
use std::{fs, path::PathBuf};
|
use std::{fs, path::PathBuf};
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
let proto_path = "../../common/protob";
|
let proto_path = "protob";
|
||||||
let protos: Vec<PathBuf> = fs::read_dir(proto_path)
|
let protos: Vec<PathBuf> = fs::read_dir(proto_path)
|
||||||
.unwrap()
|
.unwrap()
|
||||||
.filter_map(|entry| {
|
.filter_map(|entry| {
|
||||||
|
1
rust/trezor-client/protob
Symbolic link
1
rust/trezor-client/protob
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../common/protob
|
Loading…
Reference in New Issue
Block a user