Skip to content

Add xtask#18

Merged
jasger9000 merged 9 commits intomainfrom
add_xtask
Jun 20, 2025
Merged

Add xtask#18
jasger9000 merged 9 commits intomainfrom
add_xtask

Conversation

@jasger9000
Copy link
Owner

This PR adds cargo xtasks to automate some tasks for building mpdris.

Tasks include:

Task Description
man Compress man pages the specified directory
build Build the binary and compress the man pages
install Create an install using /usr as the prefix
clean-dist Clean the dist directory
make-release-assets Make assets for a release (tarballs, binaries, SHA256sums)

Detailed changes:

  • Add xtasks
  • Separate mpris.service and mpsris.service.local for /usr/ and /usr/local/ installs (potential breaking change)
  • Mention release tarballs in the install section of the README
  • Add a packaging section to the README

Add an extra workspace named xtask for creating build tasks.
Adds a cargo alias to quickly use it with 'cargo xtask'.
Add an xtask that builds the project in release mode and compress the
man pages.
Add a seperate mpdris.service.local file for /usr/local/ installs and a
mpdris.service file for /usr/ installs
Add a mention of release tarballs in the README section for installing
using a release binary.
Additionally replace the mentions of mpdris.service with
mpdris.service.local in that section.
Add a Packaging section to the README mentioning the xtask build system
and some short command references.
@jasger9000 jasger9000 merged commit 46dc857 into main Jun 20, 2025
3 checks passed
@jasger9000 jasger9000 deleted the add_xtask branch June 20, 2025 12:19
jasger9000 added a commit that referenced this pull request Jun 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant