添加makefile

This commit is contained in:
root 2024-04-03 21:13:38 +08:00
parent 94642c4df5
commit 959726a6a5

View File

@ -37,12 +37,11 @@ cleanall: clean
clean:
rm -r $(DIST_DIR) $(BUILD_DIR) pmpt.egg-info
push:
commit:
@if [ -z "$(msg)" ]; then \
echo "Please provide a commit message using 'msg' parameter."; \
exit 1; \
else \
git add .; \
git commit -m "$(msg)"; \
git push origin master; \
fi