Skip to content
Snippets Groups Projects
Commit 390057a5 authored by Simon Kindhauser's avatar Simon Kindhauser Committed by Caspar Martens
Browse files

make extensions independent flatpaks

parent 76e954e1
No related branches found
No related tags found
No related merge requests found
docs/_build/
docs/_versions
docs/source/_build/
docs/source/software_documentation/code/*
.vscode/
.idea/
*.egg-info/
.coverage
coverage.xml
__pycache__/
pylint/
venv/
.venv/
htmlcov/
.pytest_cache/
.mypy_cache/
.flatpak-repo/
.flatpak-builder/
.flatpak-build/
build/
Makefile 0 → 100644
.PHONY: test
help:
cat Makefile
flatpak:
flatpak --user remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak-builder --user --install .flatpak-build/ org.blackfennec.extensions.base.yml --force-clean --install-deps-from flathub --repo=.flatpak-repo
lint:
find . -name "*.py" | xargs pylint --output-format=text || true
test:
pytest tests/;
install:
python -m pip install -e .
<?xml version="1.0" encoding="UTF-8"?>
<component type="addon">
<id>org.blackfennec.extensions.base</id>
<extends>org.blackfennec.app</extends>
<name>Base</name>
<summary>Provides commonly used types</summary>
<project_license>GPL-3.0</project_license>
<metadata_license>FSFAP</metadata_license>
</component>
id: org.blackfennec.extensions.base
branch: '1.0'
runtime: org.blackfennec.app
runtime-version: '1.0'
sdk: org.gnome.Sdk//43
build-extension: true
modules:
- name: blackfennec.extensions.base
buildsystem: simple
build-commands:
- pip install --prefix=${FLATPAK_DEST} .
sources:
- type: dir
path: .
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment