mirror of
https://github.com/zyedidia/micro.git
synced 2025-06-19 07:15:34 -04:00
Updated to core24
This commit is contained in:
parent
06fe85c8c9
commit
a39dccd679
@ -6,7 +6,7 @@ description: |
|
|||||||
terminals.
|
terminals.
|
||||||
confinement: classic
|
confinement: classic
|
||||||
adopt-info: micro
|
adopt-info: micro
|
||||||
base: core20
|
base: core24
|
||||||
|
|
||||||
apps:
|
apps:
|
||||||
micro:
|
micro:
|
||||||
@ -17,15 +17,16 @@ parts:
|
|||||||
source: .
|
source: .
|
||||||
source-type: git
|
source-type: git
|
||||||
plugin: go
|
plugin: go
|
||||||
|
build-snaps: [go]
|
||||||
build-packages: [make]
|
build-packages: [make]
|
||||||
build-attributes: [no-patchelf]
|
build-attributes: [no-patchelf]
|
||||||
override-pull: |
|
override-pull: |
|
||||||
snapcraftctl pull
|
craftctl default
|
||||||
version="$(go run $SNAPCRAFT_PART_SRC/tools/build-version.go)"
|
version="$(go run $CRAFT_PART_SRC/tools/build-version.go)"
|
||||||
[ -n "$(echo $version | grep "dev")" ] && grade=devel || grade=stable
|
[ -n "$(echo $version | grep "dev")" ] && grade=devel || grade=stable
|
||||||
snapcraftctl set-version "$version"
|
craftctl set version="$version"
|
||||||
snapcraftctl set-grade "$grade"
|
craftctl set grade="$grade"
|
||||||
override-build: |
|
override-build: |
|
||||||
make build-tags
|
make build-tags
|
||||||
mkdir $SNAPCRAFT_PART_INSTALL/bin
|
mkdir $CRAFT_PART_INSTALL/bin
|
||||||
mv ./micro $SNAPCRAFT_PART_INSTALL/bin/
|
mv ./micro $CRAFT_PART_INSTALL/bin/
|
||||||
|
Loading…
Reference in New Issue
Block a user