From bab0e124ab73fc693d86b8de9650f7a71ceaec33 Mon Sep 17 00:00:00 2001 From: ZHU Yuhao Date: Thu, 18 Jun 2026 22:12:42 +0200 Subject: [PATCH] Update argmojo --- recipes/argmojo/README.md | 2 +- recipes/argmojo/recipe.yaml | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/recipes/argmojo/README.md b/recipes/argmojo/README.md index 8beac11e..181ecc9b 100644 --- a/recipes/argmojo/README.md +++ b/recipes/argmojo/README.md @@ -31,7 +31,7 @@ ArgMojo has been successfully deployed in production in [Decimo](https://github. ArgMojo provides two complementary styles for defining and parsing command-line arguments in Mojo: a **builder API** for maximum control (`Command` + `Argument` chains) and an optional **struct-based declarative API** inspired by Swift's [swift-argument-parser](https://github.com/apple/swift-argument-parser) (define a `Parsable` struct, call `MyArgs.parse()`, get typed results). You can mix both freely — put most of your arguments in a struct and drop down to builder methods whenever you need finer control. -ArgMojo v0.6.0 targets Mojo v1.0.0b1. +ArgMojo v0.7.0 targets Mojo v1.0.0b2. ArgMojo currently supports: diff --git a/recipes/argmojo/recipe.yaml b/recipes/argmojo/recipe.yaml index b247aace..5de2d2f9 100644 --- a/recipes/argmojo/recipe.yaml +++ b/recipes/argmojo/recipe.yaml @@ -1,6 +1,6 @@ context: - version: "0.6.0" - mojo_version: "=1.0.0b1" + version: "0.7.0" + mojo_version: "=1.0.0b2" package: name: "argmojo" @@ -8,13 +8,13 @@ package: source: - git: https://github.com/forfudan/argmojo.git - rev: 47df395940e9f9048a4535c2531aeeedfb40a7ca + rev: 5e244891daa5c919d344a369f9577b21282f1587 build: number: 0 script: - mkdir -p ${PREFIX}/lib/mojo - - mojo package src/argmojo -o ${{ PREFIX }}/lib/mojo/argmojo.mojopkg + - mojo precompile src/argmojo -o ${{ PREFIX }}/lib/mojo/argmojo.mojoc requirements: host: