Last active
August 20, 2025 02:36
-
-
Save anoochit/dc8b49f1d8d7d63a3a0e77444fddec4e to your computer and use it in GitHub Desktop.
Revisions
-
anoochit revised this gist
Aug 20, 2025 . No changes.There are no files selected for viewing
-
anoochit created this gist
Aug 20, 2025 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,32 @@ # This Makefile is designed to be run with PowerShell on Windows. # It explicitly sets PowerShell as the shell. SHELL := pwsh.exe .SHELLFLAGS := -Command all: get get: # get all packages flutter pub get upgrade: # upgrade to lastest major versions dart pub upgrade --major-versions locale: # generate locales from messages getx generate locales .\assets\locales\ commit-ai: # dart fix dart fix --apply # Stage all changes (optional, remove if you want to stage manually) git add . # Generate commit message with gemini and commit git diff HEAD | gemini --model gemini-2.5-flash -p "Based on the following git diff, write a concise and descriptive commit message following the conventional commit format." > commit-message.log # Remove fist line (optional) (Get-Content commit-message.log | Select-Object -Skip 1) | Set-Content commit-message.log # Commit log from file git commit -F commit-message.log # Git push git push