Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 14 additions & 9 deletions recipes/ExtraMojo/recipe.yaml
Original file line number Diff line number Diff line change
@@ -1,38 +1,43 @@
context:
version: "0.16.0"
max_version: "=25.4"
version: "0.17.0"
mojo_version: "=25.5"

package:
name: "extramojo"
version: ${{ version }}

source:
- git: https://github.com/ExtraMojo/ExtraMojo.git
rev: 75b80da6249467b9df8f16fa432814b987504126
rev: 608ca09f3b2e201b8c163f466966af48fa99e1c2
# path: .
# use_gitignore: true

build:
number: 0
script:
- mojo package ExtraMojo -o ${{ PREFIX }}/lib/mojo/ExtraMojo.mojopkg
- mojo package extramojo -o ${{ PREFIX }}/lib/mojo/extramojo.mojopkg
requirements:
build:
- mojo-compiler ${{ mojo_version }}
host:
- max ${{ max_version }}
- mojo-compiler ${{ mojo_version }}
run:
- max ${{ max_version }}
- mojo-compiler ${{ mojo_version }}

tests:
- script:
- if: unix
then:
- mojo run -I ${{ PREFIX }}/lib/mojo/ExtraMojo.mojopkg tests/test_file.mojo
- mojo test -I ${{ PREFIX }}/lib/mojo/ExtraMojo.mojopkg tests
- mojo run -I . tests/test_file.mojo
- mojo test -I . tests
requirements:
build:
- mojo ${{ mojo_version }}
run:
- max ${{ max_version }}
- mojo ${{ mojo_version }}
files:
source:
- extramojo/
- tests/

about:
Expand Down
Loading