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

リビルド時、githash.hが再生成されるように修正 #1923

Conversation

berryzplus
Copy link
Contributor

@berryzplus berryzplus commented Jun 18, 2023

PR対象

  • ビルド手順/CI

カテゴリ

  • 改善

PR の背景

仕様・動作説明

  • sakura.vcxprojにビルドターゲットを追加する変更です。
  • githash.h をクリーン時に削除されるようにします。
  • リビルドは「クリーンしてビルド」なので、結果的に再生成されるようになります。

PR の影響範囲

  • sakura.vcxprojのクリーンとビルドに影響する変更です。

テスト内容

  • Visual Studio 2022のIDEからクリーンしてgithash.hが削除されることを確認しました。
  • Visual Studio 2022のIDEからビルドしてgithash.hが生成されることを確認しました。
  • Visual Studio 2022のIDEからリビルドしてgithash.hが生成されることを確認しました。
    (ビルドした状態から空コミットしてリビルドするとハッシュが変わる。)

関連 issue, PR

参考資料

・クリーンでgithash.hを削除するターゲットの追加
@berryzplus berryzplus force-pushed the feature/recreate_githash_on_rebuild branch from 6d5d9c9 to 66cfd37 Compare June 18, 2023 11:01
@sonarcloud
Copy link

sonarcloud bot commented Jun 18, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@AppVeyorBot
Copy link

@AppVeyorBot
Copy link

@berryzplus berryzplus marked this pull request as ready for review June 19, 2023 02:34
@berryzplus berryzplus requested a review from beru July 29, 2023 10:41
@beru
Copy link
Contributor

beru commented Aug 5, 2023

Build時に sakura_core フォルダに作られる githash.h ファイルが Clean で消える事を確認しました。問題無いと思います。

@berryzplus berryzplus merged commit efff593 into sakura-editor:master Aug 11, 2023
25 checks passed
@berryzplus berryzplus deleted the feature/recreate_githash_on_rebuild branch August 11, 2023 03:10
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.

None yet

3 participants