projects
/
tools
/
weles.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
83b6036
)
DEMO: add watcher targets
author
Pawel Wieczorek
<p.wieczorek2@samsung.com>
Mon, 18 Dec 2017 18:17:48 +0000
(19:17 +0100)
committer
Pawel Wieczorek
<p.wieczorek2@samsung.com>
Fri, 5 Jan 2018 14:29:17 +0000
(15:29 +0100)
Change-Id: Ibfb1996e12d9ccccb452bcfd671a6e21c6cc22b0
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index
db93c0c
..
187a2bf
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-4,7
+4,7
@@
WELES_DB=/tmp/weles
DATA_SRV=demo/dtl
DATA_SRV_PORT=9090
-.PHONY: build run
watch serv
e clean
+.PHONY: build run
serve watch_jobs watch_tre
e clean
build:
mkdir -p ${WELES_DB}
@@
-16,7
+16,10
@@
run:
serve:
cd ${DATA_SRV} && python -m SimpleHTTPServer ${DATA_SRV_PORT}
-watch:
+watch_jobs:
+ watch -n1 "curl -sL ${WELES}/api/v1/jobs | jq 'sort_by(.jobid) | reverse'"
+
+watch_tree:
watch -n1 "tree -r ${WELES_DB}"
clean: