-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathmeta.yaml
61 lines (54 loc) · 1.6 KB
/
meta.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
{% set name = "DENTIST" %}
{% set git_url = environ.get("GIT_URL", "https://github.com/a-ludi/dentist.git") %}
{% set git_rev = environ.get("DENTIST_VERSION", "v4.0.0") %}
{% set version = environ['GIT_DESCRIBE_TAG'] %}
{% if version[0] == "v" %}
{% set version = version[1:] %}
{% endif %}
{% if environ['GIT_DESCRIBE_NUMBER'] == 0 %}
{% set version = version~".dev"~environ['GIT_BUILD_STR'] %}
{% endif %}
{% set build_type = environ.get('BUILD_TYPE', 'release') %}
{% set build_config = environ.get('DUB_CONFIG', 'default') %}
{% if build_type != "release" %}
{% set version = version~"."~build_type %}
{% endif %}
{% if build_config != "default" %}
{% set version = version~"."~build_config %}
{% endif %}
package:
name: "{{ name | lower }}-core"
version: "{{ version }}"
source:
git_rev: "{{ git_rev }}"
git_url: "{{ git_url }}"
build:
script_env:
- DENTIST_BUILD={{ build_type }}
- DENTIST_BUILD_CONFIG={{ build_config }}
requirements:
build:
- {{ compiler('c') }}
- jq==1.6
run:
- daligner==2.0.20200115+commit.c2b47da
- damapper==1.0.20200322+commit.b2c9d7f
- damasker==1.0.20200115+commit.22139ff
- dascrubber==1.0.20200726+commit.a53dbe8
- daccord==0.0.18+release.20200702195851
- dazz_db==1.0.20200727+commit.d22ae58
test:
requires:
- jq==1.6
source_files:
- tests/test-commands.sh
commands:
- dentist -d
- dentist-unittest
- tests/test-commands.sh
about:
home: https://a-ludi.github.io/dentist/
license: MIT
license_family: MIT
license_file: LICENSE
summary: DENTIST core tools. Install package `dentist` instead.