To run the unit tests, run:
$ cargo test -- --test-threads=1To run the integration test, run:
$ ./integration_test.sh$ cargo build
$ cargo build --release # to build optimized binary$ cargo install --path .The integration tests provide an example on how to use the application. After you have a repo with your dotfiles already saved, just run
$ dot init <repo>and Dot will take care of the rest!
-
dot statusshould show the git status of the dotfiles dir -
dot logshould show the git log of the dotfiles dir -
dot showshould show the path of the dotfiles dir -
dot addshould add a move a file to the dotfiles dir and symlink the file - Run clippy to lint the project and fix issues