Skip to content

Commit

Permalink
create no-jdk coursier-core
Browse files Browse the repository at this point in the history
  • Loading branch information
bollwyvl committed Dec 19, 2020
1 parent 3d86ef3 commit cff75a0
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 17 deletions.
File renamed without changes.
File renamed without changes.
9 changes: 0 additions & 9 deletions recipes/coursier/conda_build_config.yaml

This file was deleted.

47 changes: 39 additions & 8 deletions recipes/coursier/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ package:
version: {{ version }}

source:
- url: https://raw.githubusercontent.com/{{ name }}/{{ name }}/v{{ version }}/LICENSE
- fn: {{ name }}-{{ version }}-LICENSE-APACHE
url: https://raw.githubusercontent.com/{{ name }}/{{ name }}/v{{ version }}/LICENSE
sha256: cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30
- url: https://github.com/{{ name }}/{{ name }}/releases/download/v{{ version }}/{{ name }}
sha256: d3ba37e53d9cfa778af481c7099cd1dc485242283e9d2c5c2753f3859908cbd4
Expand All @@ -16,26 +17,56 @@ source:
build:
number: 0

test:
commands:
- echo "TBD"

requirements:
host:
build:
- openjdk
run:
host:
- openjdk

test:
commands:
- coursier --version
- coursier --help
outputs:
- name: {{ name }}-base
requirements:
build:
- openjdk
build:
script: call "%RECIPE_DIR%\build_{{ name }}.bat" # [win]
script: bash "${RECIPE_DIR}/build_{{ name }}.sh" # [unix]
test:
commands:
- dir "%SCRIPTS%\{{ name }}.bat" # [win]
- ls "${PREFIX}/bin/{{ name }}" # [unix]

- name: {{ name }}
build:
noarch: generic
requirements:
run:
- openjdk
- {{ name }}-base ={{ version }}
test:
requirements:
- openjdk
commands:
- java -version
- {{ name }} --version
- {{ name }} --help
about:
summary: Pure Scala Artifact Fetching (with conda JDK)

about:
home: https://get-coursier.io
license: Apache-2.0
license_family: APACHE
license_file: LICENSE
license_file: {{ name }}-{{ version }}-LICENSE-APACHE
summary: Pure Scala Artifact Fetching
doc_url: https://get-coursier.io/docs/overview
dev_url: https://github.com/coursier/coursier

extra:
recipe-maintainers:
- bollwyvl
- dbast

0 comments on commit cff75a0

Please sign in to comment.