wip: first commit
This commit is contained in:
commit
98448060b9
24 changed files with 709 additions and 0 deletions
12
tests/derive_macro.rs
Normal file
12
tests/derive_macro.rs
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
use vite_manifest::ViteManifest;
|
||||
|
||||
#[derive(ViteManifest)]
|
||||
#[root = "vite-project/dist"]
|
||||
struct Manifest {}
|
||||
|
||||
#[test]
|
||||
fn root_dir() {
|
||||
let manifest = Manifest {};
|
||||
|
||||
assert_eq!("vite-project/dist", manifest.get_root());
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue