From 97ac0d37acfebd18f8079704ee33ea8c68d2a4d7 Mon Sep 17 00:00:00 2001 From: gumi Date: Sun, 4 Oct 2020 22:19:52 -0400 Subject: [frob] add a mode to list item hoarders --- GNUmakefile | 6 ++++++ tools | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/GNUmakefile b/GNUmakefile index 25829432..a41feebb 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -39,8 +39,14 @@ news: world/map/news.txt world/map/news.html world/map/news.rss world/map/news.j updates: cd tools/client/ ; ./make-updates.sh + +.PHONY: frob sql stats + frob: deno run --allow-read=. --allow-write=world/save tools/server/frob/index.ts -- $(items) sql: deno run --allow-read=. --allow-net tools/server/frob/index.ts -- --dry --sql + +stats: + deno run --allow-read=. --allow-write=log --allow-net=server.themanaworld.org,raw.githubusercontent.com tools/server/frob/index.ts -- --dry --stats diff --git a/tools b/tools index a5d6818c..5a87ab2d 160000 --- a/tools +++ b/tools @@ -1 +1 @@ -Subproject commit a5d6818c8e4f68d9b7dd6272754a781c90be3f8a +Subproject commit 5a87ab2dd7fea89b35e3408481575c51f980ae3b -- cgit v1.2.3-70-g09d2