Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ビルド関連のバッチファイルのエラー耐性を上げる #362

Merged
merged 3 commits into from
Aug 25, 2018

Conversation

m-tmatma
Copy link
Member

@m-tmatma m-tmatma commented Aug 25, 2018

ビルド関連のバッチファイルのエラー耐性を上げる

@m-tmatma m-tmatma added this to the next release milestone Aug 25, 2018
@m-tmatma m-tmatma changed the title ビルド関連のバッチファイルの引数のチェックを実装 ビルド関連のバッチファイルのエラー耐性を上げる Aug 25, 2018
build-all.bat Outdated
@echo %~nx1 Win32 Debug
@echo %~nx1 x64 Release
@echo %~nx1 x64 Release
exit /b
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#361 で指摘したのと同じです。
戻り値を指定しないなら exit /b を書く意味はないと思います。
しかも、この命令文が実行されるのは call で呼ばれるサブプロセスなので、exit /bが呼ばれる時点ではこのバッチの処理は終了せず、callから戻った exit /b 1 でやっと終了することになるはずです。

ざっと見、他ファイルも同様です。

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

追加しました。

Copy link
Contributor

@berryzplus berryzplus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTMです。

@m-tmatma m-tmatma merged commit 61ea420 into sakura-editor:master Aug 25, 2018
@m-tmatma m-tmatma deleted the feature/improve-build-batch branch August 25, 2018 21:02
HoppingTappy pushed a commit to HoppingTappy/sakura that referenced this pull request Jun 11, 2019
…ild-batch

ビルド関連のバッチファイルのエラー耐性を上げる
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants