From ce04d7169a86238333a9e23c03ced0bde05e8f56 Mon Sep 17 00:00:00 2001 From: Tsiry Sandratraina Date: Mon, 23 Oct 2023 23:31:29 +0300 Subject: [PATCH] +fluentci.io (#3724) * add fluentci package fix test * add deno to dependencies and update build script * fix(fluentci.io): set skip-patchelf to true * fix(fluentci.io): use skip: string | string[] syntax * fix test * fix test more --------- Co-authored-by: Jacob Heider --- projects/fluentci.io/package.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 projects/fluentci.io/package.yml diff --git a/projects/fluentci.io/package.yml b/projects/fluentci.io/package.yml new file mode 100644 index 00000000..60087632 --- /dev/null +++ b/projects/fluentci.io/package.yml @@ -0,0 +1,30 @@ +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: + deno.land: ^1.37 + script: | + 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 }}