We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 069e995 commit 0cf19b7Copy full SHA for 0cf19b7
Makefile
@@ -17,7 +17,7 @@ import-article:
17
18
.PHONY: import-reviewed-preprint
19
import-reviewed-preprint:
20
- @if [ "${REVIEWED_PREPRINT_ID}" = "" ]; then echo "Expected REVIEWED_PREPRINT_ID"; exit 1; fi
+ $(if $(REVIEWED_PREPRINT_ID),,$(error REVIEWED_PREPRINT_ID make variable needs to be set))
21
curl https://api.elifesciences.org/reviewed-preprints/$(REVIEWED_PREPRINT_ID) | jq . > data/reviewed-preprints/$(REVIEWED_PREPRINT_ID).json
22
23
vendor:
0 commit comments