Skip to content

Commit

Permalink
+onefetch (#2975)
Browse files Browse the repository at this point in the history
* +onefetch

* fix

* rename and gx/make

---------

Co-authored-by: Jacob Heider <[email protected]>
  • Loading branch information
kevinmichaelchen and jhheider authored Aug 20, 2023
1 parent b21ce44 commit c5c27b2
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions projects/onefetch.dev/package.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
distributable:
url: https://github.com/o2sh/onefetch/archive/refs/tags/{{ version }}.tar.gz
strip-components: 1

provides:
- bin/onefetch

versions:
github: o2sh/onefetch
strip: /v/

# dependencies:
# darwin:
# zlib.net: ^1

build:
dependencies:
tea.xyz/gx/make: '*'
cmake.org: ^3
rust-lang.org: '>=1.56'
rust-lang.org/cargo: '*'
script:
cargo install --locked --path . --root {{prefix}}

test:
script:
- test "$(onefetch --version)" = "onefetch {{version}}"

0 comments on commit c5c27b2

Please sign in to comment.