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: 10 additions & 13 deletions recipes/lightbug_http/recipe.yaml
Original file line number Diff line number Diff line change
@@ -1,36 +1,35 @@
# yaml-language-server: $schema=https://raw.githubusercontent.com/prefix-dev/recipe-format/main/schema.json

context:
version: "25.4.0"

version: "0.25.6"
mojo_version: "=0.25.6"
package:
name: "lightbug_http"
version: ${{ version }}

source:
- git: https://github.com/saviorand/lightbug_http.git
rev: 508f4210fd32af2010286625d8fbd69ef0534057

rev: b7b81a8332259fa14e1057dc86a8249c2e6df927
build:
number: 0
script:
- mkdir -p ${PREFIX}/lib/mojo
- mojo package lightbug_http -o ${{ PREFIX }}/lib/mojo/lightbug_http.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
requirements:
build:
- mojo ${{ mojo_version }}
run:
- max =25.4
- mojo ${{ mojo_version }}
files:
recipe:
- tests/lightbug_http/io/test_bytes.mojo
Expand All @@ -40,14 +39,12 @@ tests:
- tests/lightbug_http/test_http.mojo
- tests/lightbug_http/test_net.mojo
- tests/lightbug_http/test_uri.mojo

about:
homepage: https://lightbug.site
license: MIT
license_file: LICENSE
summary: Lightbug is a simple and sweet HTTP framework for Mojo
repository: https://github.com/saviorand/lightbug_http

extra:
maintainers:
- saviorand
Expand Down