Snaps are very convenient for software distribution. It'll make it even easier to install and update croc on systems that already use snaps like Ubuntu.
This commit is contained in:
Jorge Alberto Díaz Orozco (Akiel) 2022-05-20 17:08:23 +02:00
parent 5270755c15
commit 8936f4adaf
1 changed files with 21 additions and 0 deletions

21
snapcraft.yaml Normal file
View File

@ -0,0 +1,21 @@
name: croc
version: git
summary: Easily and securely send things from one computer to another
description: Easily and securely send things from one computer to another
confinement: classic
base: core20
parts:
docker-image-save:
plugin: go
source: https://github.com/schollz/croc
source-type: git
build-packages:
- gcc
apps:
croc:
command: bin/croc
plugs:
- network
- network-bind