railpack

Configure and troubleshoot Railpack builds, with emphasis on RAILPACK_* environment variables, railpack.json overlays, build-plan inspection, local CLI installation and usage, and local BuildKit containers. Use for Railpack provider configuration, custom install/build/start commands, Mise or Apt packages, build or runtime variables and secrets, generated-plan debugging, BUILDKIT_HOST errors, or running Railpack from a release or source checkout.

Install
npx skills add 'https://github.com/railwayapp/railpack/tree/main/.'
Incomplete bundle · no download
main · 21a254fScanned 2026-09-17

Contributors

GitHub-linked commit authors for this SKILL.md at the saved revision. Co-authors and history before file renames are not included.

File history ↗

core/providers/cpp/meson.go

core/providers/cpp/meson.goBrowse 1970 files
View on GitHub
← Back to SKILL.md
package cpp import (	"github.com/railwayapp/railpack/core/generate"	"github.com/railwayapp/railpack/core/plan") type meson struct{} func (p *CppProvider) DetectMeson(ctx *generate.GenerateContext) (buildSystem, bool) {	if ctx.App.HasFile("meson.build") {		return &meson{}, true	}	return nil, false} func (m *meson) Install(ctx *generate.GenerateContext, mise *generate.MiseStepBuilder) {	mise.Default("meson", "latest")	mise.Default("ninja", "latest")	// python + pipx are needed because of an installation issue with meson; this could be fixed in the future	mise.Default("python", "latest")	mise.Default("pipx", "latest")	mise.UseMiseVersions(ctx, []string{"meson", "ninja"})} func (m *meson) Build(build *generate.CommandStepBuilder) {	build.AddCommands([]plan.Command{		plan.NewExecCommand("meson setup /build"),		plan.NewExecCommand("meson compile -C /build"),	})}