From c0f9a49791d0e61351e39a8ced6d0c67642ad8bf Mon Sep 17 00:00:00 2001 From: Michelle Weidling Date: Tue, 26 Apr 2022 07:01:02 +0200 Subject: [PATCH] feat: remove assets server --- Makefile | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/Makefile b/Makefile index 30ff50c..e198895 100644 --- a/Makefile +++ b/Makefile @@ -6,14 +6,8 @@ help: @echo "" @echo " Targets" @echo "" - @echo " dist Copy test fixtures to another dir and replace URL" - @echo " start Start the asset server" @echo " validate-workspace Validate all assets as workspaces" @echo " validate-ocrdzip Validate all assets as workspaces" - @echo "" - @echo " Variables" - @echo "" - @echo " PORT Port to run the asset server on" # END-EVAL @@ -22,24 +16,9 @@ REPO_URL = https://github.com/OCR-D/assets/raw/master/data/ # Strictness for page consistency checks PAGE_STRICTNESS = lax -# Port to run the asset server on -PORT=5001 - # BagIt update script SCRIPT_UPDATE_BAGIT = $(PWD)/scripts/update-bagit.sh -# Copy test fixtures to another dir and replace URL -.PHONY: dist -dist: - mkdir -p $@ - cp -r data/* $@ - sed -i 's,$(REPO_URL),http://localhost:$(PORT)/,' $@/**/*.xml - -# Start the asset server -start: dist - find $(PWD)/dist -name '*.xml' - cd dist && python2 -m SimpleHTTPServer $(PORT) - # Validate all validate: validate-ocrdzip validate-workspace