Skip to content

Commit

Permalink
+render (#480)
Browse files Browse the repository at this point in the history
* wip

* wip

* wip

* wip

* this works, if pkgxdev/brewkit#71 merges

* Update package.yml

---------

Co-authored-by: Jacob Heider <jacob@tea.xyz>
  • Loading branch information
davdroman and jhheider authored May 3, 2023
1 parent 5cd600f commit ed424f9
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions projects/render.com/package.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
distributable:
url: https://github.com/render-oss/render-cli/archive/refs/tags/v{{version}}.tar.gz
strip-components: 1

versions:
github: render-oss/render-cli/tags
strip: /^v/

build:
dependencies:
deno.land: ^1.30
script: |
# Something is wrong with their deps-lock.json.
# Two of the ajv packages fail to install correctly,
# and others have hash mismatches.
rm deps-lock.json
sed -i.bak \
-e "s/ajv-formats@2.1.1/ajv-formats@2.1.0/" \
-e "s/ajv@8.11.0/ajv@8.11.1/" \
deps.ts
rm deps.ts.bak
deno compile \
--unstable \
--allow-net \
--allow-read \
--allow-run \
--allow-write \
--allow-env \
--output='{{prefix}}/bin/render' \
./entry-point.ts
test: deno test --allow-write --allow-read --allow-net --allow-env --allow-run

provides:
- bin/render

test: render commands

0 comments on commit ed424f9

Please sign in to comment.