adds xtask, lot of bloat tho ?
This commit is contained in:
parent
5a84833922
commit
b855455596
|
|
@ -28,3 +28,4 @@ callgrind*
|
|||
cache.out
|
||||
tarpaulin-report.html
|
||||
*.bkp
|
||||
coverage/
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
[workspace]
|
||||
members = [ "cli_parser", "config", "graphs", "make", "more_fields", "more_fields_macro",
|
||||
"ravenous-tools", "stats",
|
||||
"tablegen", "weaponry",
|
||||
"tablegen", "weaponry", "xtask",
|
||||
]
|
||||
resolver = "3"
|
||||
|
||||
|
|
|
|||
|
|
@ -12,6 +12,7 @@
|
|||
// use proc_macro::TokenStream;
|
||||
// use quote::quote;
|
||||
// use syn::{Data, DeriveInput, Fields, parse_macro_input};
|
||||
#![feature(coverage_attribute)]
|
||||
extern crate proc_macro;
|
||||
|
||||
use proc_macro::{Span, TokenStream};
|
||||
|
|
@ -21,6 +22,7 @@ use syn::Ident;
|
|||
use syn::parse_macro_input;
|
||||
use syn::{Data, Fields};
|
||||
|
||||
#[coverage(off)]
|
||||
#[proc_macro_derive(FieldsAsSlice, attributes(INTEGER, NULL, REAL, TEXT, BLOB))]
|
||||
pub fn derive_iterable(input: TokenStream) -> TokenStream {
|
||||
let input = parse_macro_input!(input as DeriveInput);
|
||||
|
|
|
|||
|
|
@ -0,0 +1,7 @@
|
|||
[package]
|
||||
name = "xtask"
|
||||
edition = "2024"
|
||||
version.workspace = true
|
||||
|
||||
[dependencies]
|
||||
xtaskops = "0.4.2"
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
fn main() {
|
||||
let _ = xtaskops::tasks::main();
|
||||
}
|
||||
Loading…
Reference in New Issue