-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
reuse a single targets key across repos
Signed-off-by: Trishank K Kuppusamy <trishank.kuppusamy@datadoghq.com>
- Loading branch information
1 parent
7278ac5
commit 6179f00
Showing
5 changed files
with
79 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,15 @@ | ||
#!/bin/bash | ||
|
||
echo "Installing fswatch..." | ||
brew install fswatch | ||
echo | ||
|
||
echo "Building..." | ||
make install | ||
echo | ||
|
||
# https://emcrisostomo.github.io/fswatch/doc/1.14.0/fswatch.html/Tutorial-Introduction-to-fswatch.html#Detecting-File-System-Changes | ||
# NOTE: We exclude bin/* to avoid infinite loop. | ||
# TODO: Exclude *.sh, *.md, and other non-source files. | ||
# FIXME: Sometimes fswatch fires a few times in a row. It is what it is. | ||
fswatch -o . -e "bin/*" | (while read; do make install; date; echo; done) | ||
fswatch -o . -e "bin/*" | (while read; echo "Building..."; do make install; date; echo; done) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters