mirror of
https://github.com/tmux-plugins/tpm.git
synced 2024-11-14 16:38:48 +00:00
24 lines
371 B
Bash
Executable File
24 lines
371 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
CURRENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
|
|
run_vagrant() {
|
|
vagrant up --provider=docker
|
|
}
|
|
|
|
stop_vagrant() {
|
|
vagrant destroy -f
|
|
}
|
|
|
|
run_tests() {
|
|
# actually this test file should be run inside vagrant
|
|
$CURRENT_DIR/tests/test_plugin_installation.sh
|
|
}
|
|
|
|
main() {
|
|
run_vagrant
|
|
run_tests
|
|
stop_vagrant
|
|
}
|
|
main
|