Skip to content

Commit

Permalink
Provide a make target to import a reviewed preprint
Browse files Browse the repository at this point in the history
  • Loading branch information
erkannt committed Jan 16, 2025
1 parent dd2c0c5 commit e17732c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.PHONY: dev test import-article
.PHONY: dev test import-article import-reviewed-preprint

dev:
docker compose up
Expand All @@ -9,3 +9,6 @@ test:
import-article:
chmod a+w data/articles/
docker compose run app ./bin/import $(ARTICLE_ID)

import-reviewed-preprint:
curl https://api.elifesciences.org/reviewed-preprints/$(REVIEWED_PREPRINT_ID) | jq . > data/reviewed-preprints/$(REVIEWED_PREPRINT_ID).json

0 comments on commit e17732c

Please sign in to comment.