mirror of
https://github.com/Unstructured-IO/unstructured.git
synced 2025-11-02 02:53:31 +00:00
### Description Alternative to https://github.com/Unstructured-IO/unstructured/pull/3572 but maintaining all ingest tests, running them by pulling in the latest version of unstructured-ingest. --------- Co-authored-by: ryannikolaidis <1208590+ryannikolaidis@users.noreply.github.com> Co-authored-by: rbiseck3 <rbiseck3@users.noreply.github.com> Co-authored-by: Christine Straub <christinemstraub@gmail.com> Co-authored-by: christinestraub <christinestraub@users.noreply.github.com>
30 lines
667 B
Makefile
30 lines
667 B
Makefile
SHELL := /bin/bash
|
|
|
|
BASE_REQUIREMENTS := $(shell ls ./*.in)
|
|
BASE_REQUIREMENTSTXT := $(patsubst %.in,%.txt,$(BASE_REQUIREMENTS))
|
|
|
|
.PHONY: all
|
|
all: compile-all-base
|
|
|
|
.PHONY: compile-test
|
|
compile-test:
|
|
pip-compile --upgrade test.in
|
|
|
|
.PHONY: compile-dev
|
|
compile-dev:
|
|
pip-compile --upgrade dev.in
|
|
|
|
.PHONY: compile-base
|
|
compile-base:
|
|
pip-compile --upgrade base.in
|
|
|
|
.PHONY: compile-all-base
|
|
compile-all-base: compile-base compile-test compile-dev
|
|
@$(foreach file,$(BASE_REQUIREMENTS),echo -e "\n\ncompiling: $(file)" && pip-compile --no-strip-extras --upgrade $(file) || exit;)
|
|
|
|
.PHONY: clean
|
|
clean: clean-base
|
|
|
|
.PHONY: clean-base
|
|
clean-base:
|
|
rm $(BASE_REQUIREMENTSTXT)
|