-
Notifications
You must be signed in to change notification settings - Fork 217
Expand file tree
/
Copy pathjustfile
More file actions
executable file
·35 lines (27 loc) · 1.06 KB
/
Copy pathjustfile
File metadata and controls
executable file
·35 lines (27 loc) · 1.06 KB
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
#!/usr/bin/env -S just --justfile
# SPDX-License-Identifier: GPL-2.0-only
# Copyright (c) 2024 Greg Kroah-Hartman <gregkh@linuxfoundation.org>
#
# justfile to help remember how to do some maintenance stuff when releasing or
# maintaining the usbutils package
#
# show the list of options
_help:
@just --list
# Do a release by signing the tarball and uploading to kernel.org
@release *version='':
# just echo stuff for now, need to turn this into a real script...
echo "$ gpg -a -b usbutils-014.tar"
echo "$ kup --host=git@gitolite.kernel.org --subcmd=kup-server put usbutils-014.tar usbutils-014.tar.asc /pub/linux/utils/usb/usbutils/usbutils-014.tar.gz"
# Update the usbutils.spdx file
@spdx:
reuse spdx --creator-organization="The Linux Foundation" --creator-person="Greg Kroah-Hartman <gregkh@linuxfoundation.org>" > usbutils.spdx
# Build the source, setting up things if not present
@make:
./autogen.sh
# Run the "reuse lint" tool
@lint:
reuse lint
# Run the brat test suite, comparing built lsusb against the installed one
@test *args='':
./tests/run {{args}}