Skip to content

Commit

Permalink
expose uninstall-workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
bertsky authored Mar 7, 2024
1 parent f54b002 commit 75f9719
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ build-workaround: pyclean

# test that the aliased packages work in isolation and combined
test-workaround: build-workaround
for dist in $(BUILD_ORDER);do pip uninstall --yes $$dist;done
$(MAKE) uninstall-workaround
for dist in $(BUILD_ORDER);do \
pip install dist/$$dist-*.whl ;\
ocrd --version ;\
Expand All @@ -345,3 +345,7 @@ test-workaround: build-workaround
ocrd --version ;\
make test ;\
for dist in $(BUILD_ORDER);do pip uninstall --yes $$dist;done

uninstall-workaround:
for dist in $(BUILD_ORDER);do $(PIP) uninstall --yes $$dist;done

0 comments on commit 75f9719

Please sign in to comment.