aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2022-07-06 17:14:06 -0700
committerBryan Newbold <bnewbold@archive.org>2022-07-06 17:14:06 -0700
commit19be6a657c695a4a9bcd77dbda25bcb2381a15f8 (patch)
tree6fcdd5e1b01dba5eb2692faba7e28ec69ab23d64
parenta7c79cb67d48bec30d08b97dbf561a49ecac3709 (diff)
downloadchocula-19be6a657c695a4a9bcd77dbda25bcb2381a15f8.tar.gz
chocula-19be6a657c695a4a9bcd77dbda25bcb2381a15f8.zip
Makefile: new export-fatcat helper
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 28108af..9990e58 100644
--- a/Makefile
+++ b/Makefile
@@ -41,6 +41,10 @@ homepage-status: data/$(TODAY)/homepage_status.json ## Check homepage "live"/"a
@echo
@echo Done
+.PHONY: export-fatcat
+export-fatcat: ## Output compressed JSON for fatcat journal metadata importer
+ pipenv run python -m chocula export_fatcat | gzip > chocula_fatcat_export.$(TODAY).json.gz
+
.PHONY: fetch-sources
fetch-sources: ## Download existing snapshot versions of all sources from archive.org
mkdir -p data