mirror of
https://github.com/modelscope/ms-swift.git
synced 2024-11-25 18:42:46 +08:00
26 lines
359 B
Makefile
26 lines
359 B
Makefile
WHL_BUILD_DIR :=package
|
|
DOC_BUILD_DIR :=docs/build/
|
|
|
|
# default rule
|
|
default: whl docs
|
|
|
|
.PHONY: docs
|
|
docs:
|
|
bash .dev_scripts/build_docs.sh
|
|
|
|
.PHONY: linter
|
|
linter:
|
|
bash .dev_scripts/linter.sh
|
|
|
|
.PHONY: test
|
|
test:
|
|
bash .dev_scripts/citest.sh
|
|
|
|
.PHONY: whl
|
|
whl:
|
|
python setup.py sdist bdist_wheel
|
|
|
|
.PHONY: clean
|
|
clean:
|
|
rm -rf $(WHL_BUILD_DIR) $(DOC_BUILD_DIR)
|