mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
12a16008ed
closes #6237 closes #6238 closes #6239 closes #6240
35 lines
902 B
YAML
35 lines
902 B
YAML
distributable:
|
|
url: https://github.com/fluentci-io/fluentci/archive/refs/tags/v{{ version }}.tar.gz
|
|
strip-components: 1
|
|
|
|
display-name: fluentci
|
|
|
|
versions:
|
|
github: fluentci-io/fluentci
|
|
|
|
dependencies:
|
|
dagger.io: ^0.10
|
|
deno.land: ^1.42
|
|
charm.sh/glow: ^1.5.1
|
|
|
|
build:
|
|
script:
|
|
# 0.12.0 didn't bump version
|
|
- run: sed -i -e 's/export const VERSION = ".*";/export const VERSION = "{{ version }}";/' consts.ts
|
|
working-directory: src
|
|
# 0.12.7+ shipped with a deno.lock that prevents building
|
|
- run: rm deno.lock
|
|
if: '>=0.12.7<0.14'
|
|
- deno compile -A --unstable --import-map="$SRCROOT"/import_map.json --output fluentci ./main.ts
|
|
- mkdir -p "{{ prefix }}"/bin
|
|
- cp fluentci "{{ prefix }}"/bin
|
|
skip: fix-patchelf
|
|
|
|
provides:
|
|
- bin/fluentci
|
|
|
|
test:
|
|
- fluentci --version
|
|
# contains shell escapes; can't use test
|
|
- fluentci --version | grep {{ version }}
|