-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
47 lines (37 loc) · 1.04 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
all: test_add test_watch test_run test_postprocess view_log
test_add:
@echo "** Adding a job"
echo "01" > workdir/watch/perftest_mini
echo "02" > workdir/watch/perftest_mini
test_watch:
@echo "** Watching..."
./janitor.py ~/bohrium watch
test_run:
@echo "** Running..."
./janitor.py ~/bohrium run
test_postprocess:
@echo "** Running..."
./janitor.py ~/bohrium postprocess
view_log:
less +F janitor.log
clean: clean_watch clean_running clean_postprocessing clean_done
clean_watch:
@echo "** About to delete the following"
@find workdir/watch
@echo "** About to delete the above"
rm -rI workdir/watch/*
clean_running:
@echo "** About to delete the following"
@find workdir/running
@echo "** About to delete the above"
rm -rI workdir/running/*
clean_postprocessing:
@echo "** About to delete the following"
@find workdir/postprocessing
@echo "** About to delete the above"
rm -rI workdir/postprocessing/*
clean_done:
@echo "** About to delete the following"
@find workdir/done
@echo "** About to delete the above"
rm -rI workdir/done/*