diff --git a/recipes/asciidoctor-reducer/LICENSE b/recipes/asciidoctor-reducer/LICENSE deleted file mode 100644 index b78cd59b8baf2..0000000000000 --- a/recipes/asciidoctor-reducer/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (C) 2021-present Dan Allen - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/recipes/asciidoctor-reducer/asciidoctor-reducer.bat b/recipes/asciidoctor-reducer/asciidoctor-reducer.bat new file mode 100644 index 0000000000000..3a28b267b900f --- /dev/null +++ b/recipes/asciidoctor-reducer/asciidoctor-reducer.bat @@ -0,0 +1,2 @@ +@ECHO OFF +@ruby.exe "%~dpn0" %* \ No newline at end of file diff --git a/recipes/asciidoctor-reducer/conda_build_config.yaml b/recipes/asciidoctor-reducer/conda_build_config.yaml new file mode 100644 index 0000000000000..fa424ab3a16e6 --- /dev/null +++ b/recipes/asciidoctor-reducer/conda_build_config.yaml @@ -0,0 +1,4 @@ +ruby: +- 3.1 +- 3.2 +- 3.3 diff --git a/recipes/asciidoctor-reducer/meta.yaml b/recipes/asciidoctor-reducer/meta.yaml index 60ad401c9ee41..f4c351fee8af5 100644 --- a/recipes/asciidoctor-reducer/meta.yaml +++ b/recipes/asciidoctor-reducer/meta.yaml @@ -6,8 +6,9 @@ package: version: {{ version }} source: - url: https://rubygems.org/downloads/{{ name }}-{{ version }}.gem - sha256: 9c6a132414846aaeb4620dceb9687ed3f0e827135b3514c2fc46d8564f9a79b9 + - url: https://rubygems.org/downloads/{{ name }}-{{ version }}.gem + sha256: 9c6a132414846aaeb4620dceb9687ed3f0e827135b3514c2fc46d8564f9a79b9 + - path: asciidoctor-reducer.bat build: noarch: generic @@ -15,6 +16,8 @@ build: script: - gem install -N -l -V --norc --ignore-dependencies -n $PREFIX/bin {{ name }}-{{ version }}.gem - gem unpack {{ name }}-{{ version }}.gem + - cp -v asciidoctor-reducer.bat $PREFIX/bin/asciidoctor-reducer.bat + skip: {{ win }} requirements: host: @@ -31,7 +34,7 @@ about: home: https://rubygems.org/gems/{{ name }} license: MIT license_family: MIT - license_file: LICENSE + license_file: {{ name }}-{{ version }}/LICENSE summary: A tool to generate a single AsciiDoc document by expanding all the include directives reachable from the parent document. doc_url: http://www.rubydoc.info/gems/{{ name }}