# Use "cargo install garden-tools" to install garden https://gitlab.com/garden-rs/garden # # usage: # garden build # garden test # garden check # garden fmt # garden fix commands: bench: cargo bench "$@" build: cargo build "$@" check>: - check/clippy - check/fmt check/clippy: cargo clippy --all "$@" -- -D warnings check/fmt: cargo fmt --check "$@" clean: cargo clean "$@" coverage: cargo kcov "$@" doc: | cargo doc --no-deps --package yaml-rust-davvid "$@" rsync -ar --exclude=.git --delete ${GARDEN_ROOT}/target/doc/ ${GARDEN_ROOT}/pages/doc/ fix: cargo clippy --all --fix "$@" -- -D warnings fmt: cargo fmt "$@" test: cargo test "$@" update: cargo update "$@" watch: cargo watch --shell "garden build && garden check && garden test" trees: yaml-rust: path: ${GARDEN_CONFIG_DIR} url: "git@github.com:davvid/yaml-rust.git" remotes: byte1234: "git@github.com:byte1234/yaml-rust.git" gyscos: "git@github.com:gyscos/yaml-rust.git" jturner314: "git@github.com:jturner314/yaml-rust.git" mathstuf: "git@github.com:mathstuf/yaml-rust.git" mkmik: "git@github.com:mkmik/yaml-rust.git" olalonde: "git@github.com:olalonde/yaml-rust.git" oldaccountdeadname: "git@github.com:oldaccountdeadname/yaml-rust.git" ramosbugs: "git@github.com:ramosbugs/yaml-rust.git" rocallahan: "git@github.com:rocallahan/yaml-rust.git" smoelius: "git@github.com:smoelius/yaml-rust.git" yaml-rust: "git@github.com:chyh1990/yaml-rust.git" gitconfig: remote.yaml-rust.fetch: - "+refs/heads/*:refs/remotes/yaml-rust/*" # Access yaml-rust pull requests as yaml-rust/pull/* - "+refs/pull/*/head:refs/remotes/yaml-rust/pull/*" notes: - byte1234: replace linked_hash_map with hashlink link: https://github.com/chyh1990/yaml-rust/pull/157 - ramosbugs: emit multi-line string values as block scalars link: https://github.com/chyh1990/yaml-rust/pull/136 - yaml-rust: the original yaml-rust repository - oldaccountdeadname: introduce or function link: https://github.com/chyh1990/yaml-rust/pull/179 - rocallahan: Update to quickcheck 1.0 link: https://github.com/chyh1990/yaml-rust/pull/188 - jturner314: Add byte index to error message link: https://github.com/chyh1990/yaml-rust/pull/176 - mathstuf: "doc: mention that types are not interpreted" link: https://github.com/chyh1990/yaml-rust/pull/195 - olalonde: Expose info() api link: https://github.com/chyh1990/yaml-rust/pull/190 - smoelius: Typo link: https://github.com/chyh1990/yaml-rust/pull/186 - mkmik: Implement load_from_bytes link: https://github.com/chyh1990/yaml-rust/pull/156 - gyscos: Support for tag directives (Scalar parser) link: https://github.com/chyh1990/yaml-rust/pull/135 link: https://github.com/chyh1990/yaml-rust/issues/35 pages: worktree: yaml-rust branch: pages