Create cargo_publish.bat

This commit is contained in:
Shunsuke Shibayama 2022-12-29 11:59:04 +09:00
parent 7436a790e5
commit 04ea96bebf
1 changed files with 14 additions and 0 deletions

14
cargo_publish.bat Normal file
View File

@ -0,0 +1,14 @@
@echo off
if %~dp0 == C:%homepath%\GitHub\pylyzer\ (
cd crates/py2erg
echo publish py2erg ...
cargo publish
rem from cargo 1.66 timeout is not needed
rem timeout 12
cd ../../
cargo publish
echo completed
) else (
echo Use this command in the project root
)