Skip to content

Commit

Permalink
snap: add bc and fix command
Browse files Browse the repository at this point in the history
  • Loading branch information
soumyaDghosh committed Jun 28, 2024
1 parent 1c0caa5 commit 4f98f6c
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ confinement: strict
compression: lzo

parts:
amber:
amber-bash:
plugin: rust
source: .
build-packages:
Expand All @@ -25,9 +25,18 @@ parts:
craftctl default
craftctl set version=$(cat $CRAFT_PART_SRC/Cargo.toml | tomlq -rc '.package.version')
deps:
plugin: nil
stage-packages:
- bc
prime:
- bin/bc
organize:
usr/bin: bin


apps:
amber:
amber-bash:
command: bin/amber
plugs:
- home
Expand Down

0 comments on commit 4f98f6c

Please sign in to comment.