Workspace for testing and developing Mindurka.
Before doing anything, run the wrapper with ./b.
Targets are defined by creating a new file in buildscript/src/targets/<name>.rs
and then registering it in buildscript/src/targets.rs.
A target struct must be named Impl and implement TargetImpl and TargetImplStatic.
i.e. for target named test
buildscript/src/targets/test.rs
struct Impl {}
impl TargetImpl for Impl {
// ..
}
impl TargetImplStatic for Impl {
// ..
}buildscript/src/targets.rs
// At the bottom of the file.
targets! {
test: Test;
}This will not work on weird paths and I don't care.
Feel free to PR