mirror of
https://github.com/ivabus/pantry
synced 2024-09-20 00:30:48 +03:00
+rtomayko.github.io/ronn (#1349)
* +rtomayko.github.io/ronn/ronn * Add ruby dependencies. --------- Co-authored-by: James Reynolds <magnsuviri@me.com>
This commit is contained in:
parent
c10dbf1786
commit
89bf572ac3
41
projects/rtomayko.github.io/ronn/package.yml
Normal file
41
projects/rtomayko.github.io/ronn/package.yml
Normal file
|
@ -0,0 +1,41 @@
|
|||
distributable:
|
||||
url: https://github.com/rtomayko/ronn/archive/refs/tags/{{version}}.tar.gz
|
||||
strip-components: 1
|
||||
|
||||
versions:
|
||||
github: rtomayko/ronn/tags
|
||||
|
||||
dependencies:
|
||||
ruby-lang.org: ^3.1
|
||||
rubygems.org: '*'
|
||||
|
||||
build:
|
||||
dependencies:
|
||||
rubygems.org: '*'
|
||||
tea.xyz/gx/make: '*'
|
||||
tea.xyz/gx/cc: '*'
|
||||
env:
|
||||
GEM_HOME: ${{prefix}}
|
||||
GEM_PATH: ${{prefix}}
|
||||
script: |
|
||||
gem build ronn.gemspec
|
||||
|
||||
gem install \
|
||||
--no-user-install \
|
||||
--bindir={{prefix}}/gems/bin \
|
||||
--no-document \
|
||||
ronn-{{version}}.gem
|
||||
|
||||
mkdir "{{prefix}}"/bin
|
||||
mv props/ronn "{{prefix}}"/bin
|
||||
|
||||
provides:
|
||||
- bin/ronn
|
||||
|
||||
test:
|
||||
script: |
|
||||
ronn --date 1970-01-01 $FIXTURE
|
||||
fixture: |
|
||||
simple(7) -- a simple ronn example
|
||||
==================================
|
||||
This document is created by ronn.
|
5
projects/rtomayko.github.io/ronn/ronn
Executable file
5
projects/rtomayko.github.io/ronn/ronn
Executable file
|
@ -0,0 +1,5 @@
|
|||
#!/bin/sh
|
||||
export GEM_HOME="$(cd $(dirname $0)/.. && pwd)"
|
||||
export GEM_PATH="$GEM_HOME"
|
||||
export PATH="$GEM_HOME/gems/bin:$PATH"
|
||||
exec "$GEM_HOME"/gems/bin/ronn "$@"
|
Loading…
Reference in a new issue