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