stagex/sxctl
13
2
Fork
You've already forked sxctl
0
Developer control tool for [Stagex].
  • Go 79.1%
  • Dockerfile 17.4%
  • Shell 3.5%
2024年03月08日 21:12:34 -05:00
cmd/sxctl feat: add self-install operation 2024年02月21日 08:38:48 -05:00
pkg use stagex prefix instead of guesswork 2024年03月08日 21:07:43 -05:00
.gitignore util: add helper scripts 2024年02月13日 13:06:10 -05:00
build.sh util: add helper scripts 2024年02月13日 13:06:10 -05:00
Containerfile rename stagexctl -> sxctl 2024年02月12日 21:35:44 -05:00
go.mod rename stagexctl -> sxctl 2024年02月12日 21:35:44 -05:00
LICENSE initial commit 2024年02月11日 21:50:41 -05:00
lint.sh util: add helper scripts 2024年02月13日 13:06:10 -05:00
README.md feat: add self-install operation 2024年02月21日 08:38:48 -05:00

Stagex control tool

sxctl is a control tool for developers of the StageX project.

Presently, the main command is gen make, which generates the packages makefile for stagex.

An example usage would be:

cd stagex
docker run --rm \
 --volume .:/src \
 --user $(id -u):$(id -g) \
 sxctl \
 -- -baseDir=/src gen make

It can also be compiled and used directly:

cd stagex
sxctl gen make

Install-from-container

sxctl contains a function which allows itself to be easily copied out from its container. To use it, bind mount the receiving directory to /target inside the container. Something like this should do:

mkdir -p /home/myuser/.local/bin
docker run --rm \
 --volume /home/myuser/.local/bin:/target
 --user $(id -u):$(id -g) \
 sxctl install