depot/pkgs/build-support/setup-hooks/move-build-tree.sh

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
183 B
Bash
Raw Normal View History

appendToVar prePhases moveBuildDir
moveBuildDir() {
mkdir -p $out/.build
cd $out/.build
}
appendToVar postPhases removeBuildDir
removeBuildDir() {
rm -rf $out/.build
}