Upload ms-swift/Makefile with huggingface_hub
Browse files- ms-swift/Makefile +25 -0
ms-swift/Makefile
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
WHL_BUILD_DIR :=package
|
| 2 |
+
DOC_BUILD_DIR :=docs/build/
|
| 3 |
+
|
| 4 |
+
# default rule
|
| 5 |
+
default: whl docs
|
| 6 |
+
|
| 7 |
+
.PHONY: docs
|
| 8 |
+
docs:
|
| 9 |
+
bash .dev_scripts/build_docs.sh
|
| 10 |
+
|
| 11 |
+
.PHONY: linter
|
| 12 |
+
linter:
|
| 13 |
+
bash .dev_scripts/linter.sh
|
| 14 |
+
|
| 15 |
+
.PHONY: test
|
| 16 |
+
test:
|
| 17 |
+
bash .dev_scripts/citest.sh
|
| 18 |
+
|
| 19 |
+
.PHONY: whl
|
| 20 |
+
whl:
|
| 21 |
+
python setup.py sdist bdist_wheel
|
| 22 |
+
|
| 23 |
+
.PHONY: clean
|
| 24 |
+
clean:
|
| 25 |
+
rm -rf $(WHL_BUILD_DIR) $(DOC_BUILD_DIR)
|