artifact-app 0.6.3

Artifact is a design doc tool made for developers. It allows anyone to easily write and link their design docs both to each other and to source code, making it easy to track how complete their project is. Documents are revision controllable, can be rendered as a static web page and have a full suite of command line tools for searching, formatting and displaying them.
Documentation
/// test cmdline modules

use dev_prefix::*;
use std::sync;

mod test_cmd;
mod test_init;
mod test_ls;
mod test_tutorial;
mod test_fmt;

lazy_static!{
    pub static ref CWD: PathBuf = env::current_dir().unwrap();
    pub static ref TEST_DIR: PathBuf = CWD.join(PathBuf::from(
        file!()).parent().unwrap().to_path_buf());
    pub static ref TDATA_DIR: PathBuf = TEST_DIR.join(PathBuf::from("data"));
    // TSIMPLE has to be kept behind a lock because test_fmt actually
    // writes to it!
    pub static ref TSIMPLE_DIR: sync::Mutex<PathBuf> =
        sync::Mutex::new(TDATA_DIR.join(PathBuf::from("simple")));
}