Commit 398c4321 authored by Simon Steinbeiss's avatar Simon Steinbeiss
Browse files

helpers: Add helper to locally run xfce-build

parent 1098ccaa
Pipeline #4509 passed with stages
in 12 minutes and 45 seconds
......@@ -3,6 +3,7 @@
bin_SCRIPTS = \
xfce-build \
xfce-do-release \
xfce-get-release-notes \
xfce-get-translations \
# xfce-helpers
Just some small helpers for developing Xfce
## xfce-build
A script to locally run the same build we run on GitLab CI.
## xfce-do-release
A quick playbook that goes through my steps when doing an Xfce release, with all the steps that could be automated.
# Just a small script that runs the same build that we have on gitlab-ci locally.
CFLAGS="-Wall -Wno-deprecated-declarations -Werror=implicit-function-declaration -Werror=return-type"
BUILD_CMD='cd /tmp; ./ && make distcheck'
if [ -z "$1" ]; then
# Make sure we're running the latest version
docker pull xfce/xfce-build:$VERSION
docker run --rm -u $(id -u ${USER}):$(id -g ${USER}) --volume $VOLUME:/tmp --env CFLAGS="${CFLAGS}" $CONTAINER:$VERSION /bin/bash -c "${BUILD_CMD}"
printf "\n---\nBuilt using container $CONTAINER:$VERSION on $VOLUME\n"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment