rustick 0.1.0

timers for the Goonstation Space Station 13 codebase using byondapi
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use std::{
    fs::{File, read_to_string},
    io::Write,
};

macro_rules! feature_dm_file {
    ($name:expr) => {
        &"dmsrc/{}.dm".replace("{}", $name)
    };
}

fn main() {
    let mut f = File::create("target/rustick.dm").unwrap();

    writeln!(f, "{}", read_to_string(feature_dm_file!("main")).unwrap()).unwrap();
}