We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7877c50 + c8427a1 commit de4dedeCopy full SHA for de4dede
3 files changed
build-scripts/clean-dependencies
user-scripts/README.md
@@ -0,0 +1,5 @@
1
+# User Scripts
2
+
3
+This is a collection of scripts for your convenience. They are not part of build
4
+scripts, but can be useful when building locally or when you're tinkering
5
+around.
user-scripts/clean-dependencies
@@ -0,0 +1,15 @@
+#!/bin/sh
+# This script removes previously compiled dependencies which are later packaged
+# into CFEngine. When you want to do a fresh build it can be nice to remove
+# them in advance.
6
7
+. "$(dirname "$0")"/../build-scripts/functions
8
+. "$(dirname "$0")"/../build-scripts/detect-environment
9
+. "$(dirname "$0")"/../build-scripts/compile-options
10
11
+set -ex
12
+for dep in $DEPS
13
+do
14
+ rm -rf "$dep"
15
+done
0 commit comments