-
Notifications
You must be signed in to change notification settings - Fork 290
/
Copy pathminify.yaml
49 lines (43 loc) · 1000 Bytes
/
minify.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
package:
name: minify
version: 2.20.18
epoch: 0
description: "Go minifiers for web formats"
copyright:
- license: MIT
environment:
contents:
packages:
- busybox
- ca-certificates-bundle
- go
- wolfi-base
pipeline:
- uses: git-checkout
with:
repository: https://github.com/tdewolff/minify
tag: v${{package.version}}
expected-commit: 1508f98414a1b1398639d8fe38816e99da51859e
- uses: go/build
with:
packages: ./cmd/minify
ldflags: -s -w
output: minify
- uses: strip
subpackages:
- name: minify-bash-completion
description: bash completion for minify
pipeline:
- runs: |
_out="${{targets.subpkgdir}}"/usr/share/bash-completion/completions
mkdir -p $_out
install -Dm644 ./cmd/minify/bash_completion $_out
dependencies:
runtime:
- minify
update:
enabled: true
github:
identifier: tdewolff/minify
strip-prefix: v
tag-filter: v