Add snapcraft.yaml
This commit is contained in:
parent
f04e19e5e2
commit
391fe23b20
4 changed files with 32 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -17,3 +17,4 @@ hotalert
|
|||
|
||||
# Dependency directories (remove the comment below to include it)
|
||||
# vendor/
|
||||
**.snap
|
2
go.mod
2
go.mod
|
@ -1,6 +1,6 @@
|
|||
module hotalert
|
||||
|
||||
go 1.18
|
||||
go 1.19
|
||||
|
||||
require (
|
||||
github.com/spf13/cobra v1.6.0
|
||||
|
|
|
@ -3,6 +3,12 @@
|
|||
## Introduction
|
||||
hotalert is a command line tool for task execution and alerting. Tasks and alerts are defined in yaml files.
|
||||
|
||||
## Installation
|
||||
|
||||
**Snapstore**
|
||||
|
||||
Get the snap: https://snapcraft.io/hotalert/preview
|
||||
|
||||
### Example
|
||||
If you want to send a notification to your mobile phone when a keyword is found on a website you can use the
|
||||
`webhook_discord` alerter and the `web_scrape` task function.
|
||||
|
|
24
snap/snapcraft.yaml
Normal file
24
snap/snapcraft.yaml
Normal file
|
@ -0,0 +1,24 @@
|
|||
name: hotalert
|
||||
summary: A command line tool for task execution and alerting
|
||||
description: |
|
||||
hotalert is a command line tool for task execution and alerting. Tasks and alerts are defined in yaml files.
|
||||
version: git
|
||||
grade: stable
|
||||
base: core20
|
||||
architectures:
|
||||
- build-on: amd64
|
||||
- build-on: arm64
|
||||
|
||||
confinement: devmode
|
||||
|
||||
apps:
|
||||
hotalert:
|
||||
command: bin/hotalert
|
||||
plugs:
|
||||
- home
|
||||
parts:
|
||||
hotalert:
|
||||
plugin: go
|
||||
go-channel: 1.19/stable
|
||||
source-type: git
|
||||
source: https://github.com/dnutiu/hotalert
|
Loading…
Reference in a new issue