minor: update Makefile for sgl-kernel (#3025)

This commit is contained in:
Yineng Zhang
2025-01-21 13:08:15 +08:00
committed by GitHub
parent 287d07a669
commit 6c856b4f3a
2 changed files with 3 additions and 2 deletions

View File

@@ -14,6 +14,7 @@ concurrency:
jobs:
build-wheels:
if: github.repository == 'sgl-project/sglang'
runs-on: ubuntu-latest
strategy:
matrix:

View File

@@ -1,7 +1,7 @@
.PHONY: tree ln submodule install build clean test format
tree:
@tree --prune -I "__pycache__|*.egg-info|*.so|build"
@tree --prune -I "__pycache__|*.egg-info|*.so|build|3rdparty|dist"
submodule:
@git submodule update --init --recursive
@@ -19,7 +19,7 @@ clean:
@rm -rf build dist *.egg-info
test:
@pytest tests/
@find tests -name "test_*.py" | xargs -n 1 python3
format:
@find src tests -name '*.cc' -o -name '*.cu' -o -name '*.cuh' -o -name '*.h' -o -name '*.hpp' | xargs clang-format -i && find src tests -name '*.py' | xargs isort && find src tests -name '*.py' | xargs black