mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-23 13:33:48 +00:00
Added the dashes after dotnet run to every call of the build script (#1222)
This commit is contained in:
1 parent
b6d614d96a
commit
6e94a93c70
15 files changed
+40
-36
No files matched your search
+1
-1
@@ -12,7 +12,7 @@ changelog entries.
|
||||
`gh pr list -R MindWorkAI/AI-Studio --state merged --limit 1000 --search "merged:>=<YYYY-MM-DD>" --json author --jq '[.[].author.login] | unique | .[]'`,
|
||||
with the date of the last release tag from `git log -1 --format=%cs <last release tag>`; skip bots
|
||||
3. Commit changelog
|
||||
4. Run from `app/Build`: `dotnet run release --action <build|month|year>`
|
||||
4. Run from `app/Build`: `dotnet run -- release --action <build|month|year>`
|
||||
5. Create PR with version bump and changes
|
||||
6. After PR merge, maintainer creates git tag: `vX.Y.Z`
|
||||
7. GitHub Actions builds release binaries for all platforms
|
||||
|
||||
@@ -55,11 +55,11 @@ public sealed class VerifyCommand
|
||||
// Tauri's build script insists that everything the configuration lists is already
|
||||
// there and refuses to run otherwise, so nothing Rust compiles until a build has
|
||||
// produced those files once. Failing here would be a trap rather than a gate: the way
|
||||
// to produce them is `dotnet run build`, and that command runs this gate first -- a
|
||||
// to produce them is `dotnet run -- build`, and that command runs this gate first -- a
|
||||
// fresh clone would never get past it.
|
||||
//
|
||||
Console.WriteLine("- Skipping the Rust tests and Clippy: the .NET sidecar or the downloaded libraries are missing, and Tauri's build script needs both before anything Rust compiles.");
|
||||
Console.WriteLine(" Run 'dotnet run build --skip-verify' once. From then on, this part of the gate runs with the rest.");
|
||||
Console.WriteLine(" Run 'dotnet run -- build --skip-verify' once. From then on, this part of the gate runs with the rest.");
|
||||
}
|
||||
|
||||
results.Add(("Model sources", new VerifyModelsCommand().VerifyModels()));
|
||||
|
||||
@@ -8,7 +8,7 @@ using Build.Tools;
|
||||
// a root with the same name as one of its commands. Hence, the root is a command of its own, which
|
||||
// brings only the help option of a RootCommand along:
|
||||
//
|
||||
var rootCommand = new Command("build-script", "Build, check, and release MindWork AI Studio. Run the commands from app/Build with 'dotnet run <command>'.")
|
||||
var rootCommand = new Command("build-script", "Build, check, and release MindWork AI Studio. Run the commands from app/Build with 'dotnet run -- <command>'.")
|
||||
{
|
||||
new HelpOption(),
|
||||
CheckRidsCommand.CreateCommand(),
|
||||
|
||||
Reference in new issue
Block a user