Skip to content

Commit de0492e

Browse files
committed
Update link to entrproject
1 parent 3877a26 commit de0492e

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ If you're working on a project that:
88
* **don't** want to have to setup all those dependencies to work on it, and
99
* **don't** want to learn project-specific ways to run tests, etc.
1010

11-
your choices are kind of limited. You can use a Makefile, maybe, and what... git submodules? Vendoring with git subtrees? One of the many bash package managers that don't really get along with each other, and which your collaborators would have to install on their mahcines? An entire Vagrant VM or collection of docker images?
11+
your choices are kind of limited. You can use a Makefile, maybe, and what... git submodules? Vendoring with git subtrees? One of the many bash package managers that don't really get along with each other, and which your collaborators would have to install on their machines? An entire Vagrant VM or collection of docker images?
1212

1313
Sure, you can solve the standardization part of the problem with a [Scripts to Rule Them All](https://githubengineering.com/scripts-to-rule-them-all/)-style `script/` directory, but those are kind of a pain to make and not terribly reusable from one project to the next.
1414

@@ -115,7 +115,7 @@ Currently, .devkit provides the following modules you can `dk use:` in your `.dk
115115

116116
For any project:
117117

118-
* `entr-watch` -- implement a `watch` command using [entr](http://entrproject.org/)
118+
* `entr-watch` -- implement a `watch` command using [entr](https://eradman.com/entrproject/)
119119

120120

121121
* `cram` -- implement a `test` command using [cram](https://bitheap.org/cram/)
@@ -188,7 +188,7 @@ To activate this in your project, add a `dk use: shell-console` line to your `.d
188188

189189
It's a common task to want to watch files and run commands when they change. devkit currently supports three file watching tools:
190190

191-
* [entr](http://entrproject.org/), via the [entr-watch](#entr-watch) module
191+
* [entr](https://eradman.com/entrproject/), via the [entr-watch](#entr-watch) module
192192
* [modd](https://github.com/cortesi/modd), via the [modd-watch](#modd-watch) module, and
193193
* [reflex](https://github.com/cespare/reflex), via the [reflex-watch](#reflex-watch) module
194194

@@ -200,7 +200,7 @@ modd, on the other hand, *only* processes globs, but has brace expansion and rec
200200

201201
#### entr-watch
202202

203-
The [entr-watch](modules/entr-watch) module defines a default `dk.watch` command to provide a `script/watch` command that watches for file changes (using [entr](http://entrproject.org/)) and reruns a command (`dk test` by default). To enable it, `dk use: entr-watch` in your `.dkrc`, and then optionally define a `watch.files` function to output which files to watch. (By default, it outputs the current directory contents and any `test.files`.)
203+
The [entr-watch](modules/entr-watch) module defines a default `dk.watch` command to provide a `script/watch` command that watches for file changes (using [entr](https://eradman.com/entrproject/)) and reruns a command (`dk test` by default). To enable it, `dk use: entr-watch` in your `.dkrc`, and then optionally define a `watch.files` function to output which files to watch. (By default, it outputs the current directory contents and any `test.files`.)
204204

205205
The watch command requires the `entr` and `tput` commands be installed. The former is used to watch files for changes, and the latter to compute how many lines of watched command output can be displayed without scrolling. (The watched command's output is cut off using `head`, and the screen is cleared whenever the watched command is re-run.)
206206

modules/entr-watch

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
dk use: tty
44

55
dk.watch() {
6-
require-any entr abort "Please install entr (http://entrproject.org/) to watch files" 69
6+
require-any entr abort "Please install entr (https://eradman.com/entrproject/) to watch files" 69
77
require-any tput
88
(($#)) || set -- dk files_changed # default to firing `files_changed` events
99
if run watch_files | entr-watch "$@"; (($?==2)); then

0 commit comments

Comments
 (0)