pantry/projects/github.com/nat/openplayground/package.yml

43 lines
859 B
YAML
Raw Normal View History

2023-07-20 20:31:10 +03:00
distributable:
url: https://github.com/nat/openplayground/archive/7f3f790.tar.gz
strip-components: 1
versions:
- 2023.06.05
platforms: darwin
dependencies:
python.org: ~3.11
gnu.org/bash: '*'
2023-08-02 18:33:56 +03:00
tea.xyz: ^0
2023-07-20 20:31:10 +03:00
build:
dependencies:
npmjs.com: '*'
python-poetry.org: ~1.4.1
pip.pypa.io: '*'
script:
- python-venv.py {{prefix}}/bin/openplayground
- run: |
npm i
npx parcel build src/index.html --no-cache --no-source-maps
working-directory: app
env:
NODE_ENV: production
# needs to be moved inside the server pkg
- mv app/dist {{prefix}}/venv/lib/python{{deps.python.org.version.marketing}}/site-packages/server/static
- cp props/entrypoint.sh {{prefix}}
entrypoint: ./entrypoint.sh
provides:
- bin/openplayground
test:
2023-07-22 17:29:39 +03:00
qa-required: true
2023-07-20 20:31:10 +03:00
script: openplayground --help