mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
parent
5c14cca70b
commit
12a16008ed
1 changed files with 3 additions and 5 deletions
|
@ -8,20 +8,18 @@ versions:
|
||||||
github: fluentci-io/fluentci
|
github: fluentci-io/fluentci
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
dagger.io: ^0.8.8
|
dagger.io: ^0.10
|
||||||
deno.land: ^1.36
|
deno.land: ^1.42
|
||||||
charm.sh/glow: ^1.5.1
|
charm.sh/glow: ^1.5.1
|
||||||
|
|
||||||
build:
|
build:
|
||||||
dependencies:
|
|
||||||
deno.land: ~1.37
|
|
||||||
script:
|
script:
|
||||||
# 0.12.0 didn't bump version
|
# 0.12.0 didn't bump version
|
||||||
- run: sed -i -e 's/export const VERSION = ".*";/export const VERSION = "{{ version }}";/' consts.ts
|
- run: sed -i -e 's/export const VERSION = ".*";/export const VERSION = "{{ version }}";/' consts.ts
|
||||||
working-directory: src
|
working-directory: src
|
||||||
# 0.12.7+ shipped with a deno.lock that prevents building
|
# 0.12.7+ shipped with a deno.lock that prevents building
|
||||||
- run: rm deno.lock
|
- run: rm deno.lock
|
||||||
if: '>=0.12.7'
|
if: '>=0.12.7<0.14'
|
||||||
- deno compile -A --unstable --import-map="$SRCROOT"/import_map.json --output fluentci ./main.ts
|
- deno compile -A --unstable --import-map="$SRCROOT"/import_map.json --output fluentci ./main.ts
|
||||||
- mkdir -p "{{ prefix }}"/bin
|
- mkdir -p "{{ prefix }}"/bin
|
||||||
- cp fluentci "{{ prefix }}"/bin
|
- cp fluentci "{{ prefix }}"/bin
|
||||||
|
|
Loading…
Reference in a new issue