Skip to content

Commit b92712a

Browse files
committed
Move watcherd into bin
1 parent 9343784 commit b92712a

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,4 +50,4 @@ _lint-shell:
5050
# Test Targets
5151
# -------------------------------------------------------------------------------------------------
5252
test:
53-
./test/01.sh
53+
./tests/01.sh

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
[![test-macos](https://github.com/devilbox/watcherd/workflows/test-macos/badge.svg)](https://github.com/devilbox/watcherd/actions?query=workflow%3Atest-macos)
77
[![test-windows](https://github.com/devilbox/watcherd/workflows/test-windows/badge.svg)](https://github.com/devilbox/watcherd/actions?query=workflow%3Atest-windows)
88

9-
**[watcherd](https://github.com/devilbox/watcherp/blob/master/watcherd)** will look for directory changes (added and deleted directories) under the specified path (`-p`) and will execute specified commands or shell scripts (`-a`, `-d`) depending on the event.
9+
10+
**[watcherd](https://github.com/devilbox/watcherd/blob/master/bin/watcherd)** will look for directory changes (added and deleted directories) under the specified path (`-p`) and will execute specified commands or shell scripts (`-a`, `-d`) depending on the event.
1011
Once all events have happened during one round (`-i`), a trigger command can be executed (`-t`).
1112
Note, the trigger command will only be execute when at least one add or delete command has succeeded with exit code 0.
1213

@@ -18,7 +19,7 @@ If you need the same functionality to monitor changes of listening ports, check
1819

1920
### Modes
2021

21-
**[watcherd](https://github.com/devilbox/watcherp/blob/master/watcherd)** can either use the native [inotifywait](https://linux.die.net/man/1/inotifywait) implementation or if this is not available on your system use a custom bash implementation. The default is to use bash.
22+
**[watcherd](https://github.com/devilbox/watcherd/blob/master/bin/watcherd)** can either use the native [inotifywait](https://linux.die.net/man/1/inotifywait) implementation or if this is not available on your system use a custom bash implementation. The default is to use bash.
2223

2324
### Placeholders
2425

File renamed without changes.

test/01.sh renamed to tests/01.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ set -o pipefail
66

77
SCRIPT_PATH="$( cd "$(dirname "$0")" && pwd -P )"
88

9-
BIN_PATH="${SCRIPT_PATH}/.."
9+
BIN_PATH="${SCRIPT_PATH}/../bin"
1010
DIR_PATH="${SCRIPT_PATH}/dirs"
1111

1212

0 commit comments

Comments
 (0)