diff --git a/Cargo.lock b/Cargo.lock index 563bbda9..7e488d47 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -5,3 +5,7 @@ version = 3 [[package]] name = "nih-plug" version = "0.1.0" + +[[package]] +name = "nih-plug-derive" +version = "0.1.0" diff --git a/Cargo.toml b/Cargo.toml index 5bf4a846..b1be24df 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,2 +1,2 @@ [workspace] -members = ["nih-plug"] +members = ["nih-plug", "nih-plug-derive"] diff --git a/nih-plug-derive/Cargo.toml b/nih-plug-derive/Cargo.toml new file mode 100644 index 00000000..fd312fbd --- /dev/null +++ b/nih-plug-derive/Cargo.toml @@ -0,0 +1,13 @@ +[package] +name = "nih-plug-derive" +version = "0.1.0" +edition = "2021" +authors = ["Robbert van der Helm "] +license = "GPL-3.0-or-later" + +[lib] +proc-macro = true + +[dependencies] +syn = "1.0" +quote = "1.0" diff --git a/nih-plug-derive/src/lib.rs b/nih-plug-derive/src/lib.rs new file mode 100644 index 00000000..1b4a90c9 --- /dev/null +++ b/nih-plug-derive/src/lib.rs @@ -0,0 +1,8 @@ +#[cfg(test)] +mod tests { + #[test] + fn it_works() { + let result = 2 + 2; + assert_eq!(result, 4); + } +}