diff --git a/recipes/small_time/recipe.yaml b/recipes/small_time/recipe.yaml index 311aebdc..43b70347 100644 --- a/recipes/small_time/recipe.yaml +++ b/recipes/small_time/recipe.yaml @@ -1,5 +1,6 @@ context: - version: "25.4.1" + version: "25.7.0" + mojo_version: "=0.25.7" package: name: "small_time" @@ -7,28 +8,34 @@ package: source: - git: https://github.com/thatstoasty/small-time.git - rev: 5eb887d8efcf2d401d7ebef82f332550bcffbdb9 + rev: 0dbf6349ef13d7009abca777702146b1438ff5fe build: number: 0 script: - - mojo package src/small_time -o ${{ PREFIX }}/lib/mojo/small_time.mojopkg + - mojo package small_time -o ${{ PREFIX }}/lib/mojo/small_time.mojopkg requirements: + build: + - mojo-compiler ${{ mojo_version }} host: - - max =25.4 + - mojo-compiler ${{ mojo_version }} run: - - ${{ pin_compatible('max') }} + - mojo-compiler ${{ mojo_version }} tests: - script: - if: unix then: - - mojo test test + - sh -c 'find ./test -name test_*.mojo | xargs -I % pixi run mojo run -I . -D ASSERT=all %' + requirements: + build: + - mojo ${{ mojo_version }} + run: + - mojo ${{ mojo_version }} files: - recipe: - - test_small_time.mojo - - test_time_delta.mojo - - test_time_zone.mojo + source: + - small_time/ + - test/ about: homepage: https://github.com/thatstoasty/small-time