Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions build-scripts/clean-dependencies

This file was deleted.

5 changes: 5 additions & 0 deletions user-scripts/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# User Scripts

This is a collection of scripts for your convenience. They are not part of build
scripts, but can be useful when building locally or when you're tinkering
around.
15 changes: 15 additions & 0 deletions user-scripts/clean-dependencies
Original file line number Diff line number Diff line change
@@ -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.

. "$(dirname "$0")"/../build-scripts/functions
. "$(dirname "$0")"/../build-scripts/detect-environment
. "$(dirname "$0")"/../build-scripts/compile-options

set -ex
for dep in $DEPS
do
rm -rf "$dep"
done
Loading