Skip to content

Commit

Permalink
Create a bat file for publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
mtshiba committed Aug 16, 2022
1 parent 8028ed8 commit 5da6b90
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions cargo_publish.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
@echo off

if %~dp0 == %homepath%\sbym8\GitHub\erg\ (
cd compiler/erg_common
echo publish erg_common ...
cargo publish
timeout 5
cd ../erg_parser
echo publish erg_parser ...
cargo publish
timeout 5
cd ../erg_compiler
echo publish erg_compiler ...
cargo publish
cd ../../
echo completed
) else (
echo Use this command in the project root
)
Empty file added cargo_publish.sh
Empty file.

0 comments on commit 5da6b90

Please sign in to comment.