2022-10-08 19:37:22 +03:00
|
|
|
BORING BACKUP
|
|
|
|
|
|
|
|
Bash powered backuping tool.
|
|
|
|
|
|
|
|
INSTALLATION
|
|
|
|
|
|
|
|
Install for user locally:
|
|
|
|
make prefix=$HOME/.local install
|
|
|
|
|
|
|
|
Uninstall:
|
|
|
|
make prefix=$HOME/.local uninstall
|
|
|
|
|
2022-10-09 01:04:01 +03:00
|
|
|
TESTING
|
2022-10-08 19:37:22 +03:00
|
|
|
|
2022-10-09 01:04:01 +03:00
|
|
|
boring_backup uses amazing test suite: https://bats-core.readthedocs.io/
|
2022-10-08 19:37:22 +03:00
|
|
|
|
|
|
|
Install Bats:
|
|
|
|
git clone https://github.com/bats-core/bats-core.git
|
|
|
|
bash bats-core/install.sh ~/.local
|
|
|
|
|
|
|
|
Add some Bats extensions:
|
2022-10-09 01:04:01 +03:00
|
|
|
git submodule add https://github.com/bats-core/bats-assert.git tests/helpers/bats-assert
|
|
|
|
git submodule add https://github.com/bats-core/bats-support.git tests/helpers/bats-support
|
2022-10-08 19:37:22 +03:00
|
|
|
|
|
|
|
Run tests:
|
|
|
|
make test
|