/
ruff.yaml
43 lines (37 loc) · 943 Bytes
/
ruff.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
package:
name: ruff
version: 0.3.4
epoch: 0
description: An extremely fast Python linter, written in Rust.
copyright:
- license: MIT
environment:
contents:
packages:
- build-base
- busybox
- ca-certificates-bundle
- rust
pipeline:
- uses: git-checkout
with:
repository: https://github.com/astral-sh/ruff
tag: v${{package.version}}
expected-commit: 5062572aca9413670aafd018cb65037bcb4d6acb
- runs: |
cargo build --release
mkdir -p ${{targets.destdir}}/usr/bin
mv target/release/ruff ${{targets.destdir}}/usr/bin/
- uses: strip
subpackages:
- name: ruff-python-formatter
pipeline:
- runs: |
mkdir -p ${{targets.subpkgdir}}/usr/bin
ls target/release/
mv target/release/ruff_python_formatter ${{targets.subpkgdir}}/usr/bin/
update:
enabled: true
github:
identifier: astral-sh/ruff
strip-prefix: v