mirror of
https://github.com/davegallant/rfd.git
synced 2025-08-06 00:33:40 +00:00
feat: change output to echo via pager
This commit is contained in:
11
Makefile
11
Makefile
@@ -35,6 +35,15 @@ lint:
|
||||
test: tmp/.tests-passed.sentinel
|
||||
.PHONY: test
|
||||
|
||||
## examples: Run basic commands
|
||||
examples: tmp/.tests-passed.sentinel
|
||||
> rfd --version
|
||||
> rfd threads >/dev/null
|
||||
> rfd threads --sort-by score >/dev/null
|
||||
> rfd search 'pizza' >/dev/null
|
||||
> rfd search '(coffee|starbucks)' >/dev/null
|
||||
.PHONY: examples
|
||||
|
||||
# Tests - re-ran if any file under src has been changed since tmp/.tests-passed.sentinel was last touched
|
||||
tmp/.tests-passed.sentinel: $(shell find ${SRC} -type f)
|
||||
> mkdir -p $(@D)
|
||||
@@ -45,7 +54,7 @@ tmp/.tests-passed.sentinel: $(shell find ${SRC} -type f)
|
||||
pr: precommit lint test
|
||||
.PHONY: pr
|
||||
|
||||
ci: lint test
|
||||
ci: lint test examples
|
||||
.PHONY: ci
|
||||
|
||||
## help: Print this help message
|
||||
|
Reference in New Issue
Block a user