2023-10-23 23:31:29 +03:00
|
|
|
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.8.8
|
|
|
|
deno.land: ^1.36
|
|
|
|
charm.sh/glow: ^1.5.1
|
|
|
|
|
|
|
|
build:
|
|
|
|
dependencies:
|
2024-01-09 01:38:15 +03:00
|
|
|
deno.land: ~1.37
|
2024-04-09 02:30:43 +03:00
|
|
|
script:
|
|
|
|
# 0.12.0 didn't bump version
|
2024-04-09 02:32:59 +03:00
|
|
|
- run: sed -i -e 's/export const VERSION = ".*";/export const VERSION = "{{ version }}";/' consts.ts
|
2024-04-09 02:30:43 +03:00
|
|
|
working-directory: src
|
|
|
|
- deno compile -A --unstable --import-map="$SRCROOT"/import_map.json --output fluentci ./main.ts
|
|
|
|
- mkdir -p "{{ prefix }}"/bin
|
|
|
|
- cp fluentci "{{ prefix }}"/bin
|
2023-10-23 23:31:29 +03:00
|
|
|
skip: fix-patchelf
|
|
|
|
|
|
|
|
provides:
|
|
|
|
- bin/fluentci
|
|
|
|
|
|
|
|
test:
|
|
|
|
- fluentci --version
|
|
|
|
# contains shell escapes; can't use test
|
|
|
|
- fluentci --version | grep {{ version }}
|