lenna_cli 0.1.7

Command line interface to run algorithms on images.
Documentation
name: lenna-cli
version: git
summary: This is the Command Line Interface for Lenna.
description: |
  lenna-cli is a command line program for converting images.
confinement: strict
base: core20
license: MIT

parts:
  lenna-cli:
    plugin: rust
    source: .
    rust-features:
      - libloading

  lenna-plugins:
    plugin: rust
    source: https://github.com/lenna-project/lenna-plugins.git
    override-build: |
       cargo build --all --release
       mkdir $SNAPCRAFT_PART_INSTALL/plugins
       cp target/release/lib*.so $SNAPCRAFT_PART_INSTALL/plugins/

apps:
  lenna-cli:
    command: bin/lenna-cli
    environment:
      LENNA_PLUGINS: $SNAP/plugins
    plugs: [home]