]> git.pld-linux.org Git - projects/cleanbuild.git/commitdiff
add general readme and a wrapper
authorElan Ruusamäe <glen@pld-linux.org>
Sun, 18 Jun 2017 17:48:38 +0000 (20:48 +0300)
committerElan Ruusamäe <glen@pld-linux.org>
Sun, 18 Jun 2017 18:03:02 +0000 (21:03 +0300)
README [new file with mode: 0644]
cleanbuild [new file with mode: 0755]

diff --git a/README b/README
new file mode 100644 (file)
index 0000000..a412694
--- /dev/null
+++ b/README
@@ -0,0 +1,18 @@
+cleanbuild
+
+cleanbuild is tool to help discovering missing (or excessive) dependencies by
+building packages in clean build environment.
+
+cleanbuild comes with two backends:
+- vserver (legacy)
+- docker
+
+See README.vserver or README.docker for engine specific instructions.
+
+Run cleanbuild:
+
+  ./cleanbuild FHS
+
+You can create yourself alias for easier invocation from regular user:
+  alias cleanbuild='_cleanbuild() { sudo -H -u builder sh -c "cd ~/cleanbuild && ./cleanbuild $*"; }; _cleanbuild'
+  cleanbuild somepkg
diff --git a/cleanbuild b/cleanbuild
new file mode 100755 (executable)
index 0000000..0e99905
--- /dev/null
@@ -0,0 +1,9 @@
+#!/bin/sh
+dir=$(dirname "$0")
+
+[ -r .cleanbuildrc ] && . ./.cleanbuildrc
+
+# backend to use: vserver or docker
+BACKEND=${BACKEND:-docker}
+
+exec $dir/cleanbuild-$BACKEND.sh "$@"
This page took 0.11346 seconds and 4 git commands to generate.