xmake-xpack

Installation
SKILL.md

XPack: Package Configuration & CLI

xpack is xmake's built-in packaging plugin. Declare a package in xmake.lua, then run xmake pack to produce distributable archives or installers. Unlike xmake install (which installs to a prefix), xpack emits a file you can ship.

Supported formats: zip, targz, tar.gz, srczip, srctargz, nsis (Win installer), wix (MSI), deb, rpm, srpm, pacman, runself (self-extracting), zst.

1. Minimal example

-- xmake.lua
includes("@builtin/xpack")

target("myapp")
    set_kind("binary")
    set_version("1.0.0")
    add_files("src/*.cpp")
Installs
4
GitHub Stars
16
First Seen
Apr 29, 2026
xmake-xpack — xmake-io/xmake-skills