justfile: add some more targets

Add the "spdx" and "lint" targets to make typing things we do all the
time easier.

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Greg Kroah-Hartman 2024-10-02 08:42:41 +02:00
parent e7db52d45a
commit a69ea69074

View File

@ -2,8 +2,8 @@
# SPDX-License-Identifier: GPL-2.0-only
# Copyright (c) 2024 Greg Kroah-Hartman <gregkh@linuxfoundation.org>
#
# justfile to help remember how to do a release to kernel.org
# For only to be used by the maintainer when doing a new release.
# justfile to help remember how to do some maintenance stuff when releasing or
# maintaining the usbutils package
#
# show the list of options
@ -16,3 +16,13 @@ _help:
# 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
# Run the "reuse lint" tool
@lint:
reuse lint