Skip to content

Commit

Permalink
remove BUILD ref from Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh committed Jan 6, 2025
1 parent d421dc6 commit 9d9e7db
Showing 1 changed file with 2 additions and 23 deletions.
25 changes: 2 additions & 23 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -63,22 +63,6 @@ worker-image:
sematic/ui/build:
@$(MAKE) ui

wheel : sematic/ui/build
rm -f bazel-bin/sematic/*.whl
rm -f bazel-bin/sematic/ee/*.whl
cat README.md | \
grep -v "<img" | \
grep -v "<p" | \
grep -v "/p>" | \
grep -v "<h2" | \
grep -v "/h2>" | \
grep -v "<h3" | \
grep -v "/h3>" | \
grep -v "<a" | \
grep -v "/a>" | \
grep -v "/img>" > README.nohtml
bazel build //sematic:wheel

uv-wheel:
cat README.md | \
grep -v "<img" | \
Expand All @@ -91,10 +75,8 @@ uv-wheel:
grep -v "<a" | \
grep -v "/a>" | \
grep -v "/img>" > README.nohtml
# source .venv/bin/activate && python3 -m pandoc read --format=markdown README.nohtml
cp BUILD tmp.BUILD
rm -rf dist build src/*.egg-info
uvx pip wheel -w dist . && rm -rf build && mv tmp.BUILD BUILD
uvx pip wheel -w dist . && rm -rf build
rm README.nohtml

test-release:
Expand All @@ -113,7 +95,4 @@ release-server:
docker push sematic/sematic-server-ee:${TAG}

test:
bazel test //sematic/... --test_tag_filters=nocov --test_output=all

coverage:
bazel coverage //sematic/... --combined_report=lcov --test_tag_filters=cov --test_output=all
source .venv/bin/activate && pytest

0 comments on commit 9d9e7db

Please sign in to comment.