2019-11-16 14:24:14 +00:00
|
|
|
DB=fetch.sqlite3
|
2020-02-04 07:25:55 +00:00
|
|
|
LOGDIR=old-logs
|
2019-11-16 14:24:14 +00:00
|
|
|
|
2018-07-13 04:33:30 +00:00
|
|
|
all:
|
2019-11-16 14:24:14 +00:00
|
|
|
-echo "make what?"
|
|
|
|
|
|
|
|
run:
|
2019-11-16 15:52:29 +00:00
|
|
|
git pull
|
2019-11-16 14:24:14 +00:00
|
|
|
./wrapper.sh
|
2019-11-16 15:52:29 +00:00
|
|
|
./get-ct-log.sh
|
|
|
|
git add .
|
|
|
|
git commit -m "auto-update on `date`"
|
|
|
|
git push
|
2018-07-13 04:25:08 +00:00
|
|
|
|
2018-07-09 20:57:36 +01:00
|
|
|
clean:
|
2019-11-16 14:24:14 +00:00
|
|
|
-rm *~
|
2020-02-04 07:25:55 +00:00
|
|
|
test -d $(LOGDIR) || mkdir $(LOGDIR)
|
|
|
|
mv log*.txt $(LOGDIR)
|
|
|
|
ls -lh
|
2019-11-16 14:24:14 +00:00
|
|
|
|
|
|
|
db:
|
|
|
|
sqlite3 $(DB)
|
2018-07-17 09:53:39 +00:00
|
|
|
|
2019-11-16 14:24:14 +00:00
|
|
|
db-nuke: clean
|
2019-11-16 14:52:12 +00:00
|
|
|
-rm $(DB) $(DB)-* master.csv
|