summaryrefslogtreecommitdiffstats
path: root/Rakefile
diff options
context:
space:
mode:
authorTails developers <amnesia@boum.org>2012-09-10 18:20:49 +0200
committerTails developers <amnesia@boum.org>2012-09-10 18:22:14 +0200
commite543955b656f0a571f0c4ac3ec8fb1de3a93c405 (patch)
tree433bd434418d3ddcd8da66cb9da114df81b4649a /Rakefile
parent315fae4280762ee6542bb3792657c2f701b88040 (diff)
vagrant: make sure release builds are clean.
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Rakefile b/Rakefile
index 142f528..05b29e6 100644
--- a/Rakefile
+++ b/Rakefile
@@ -97,6 +97,9 @@ task :parse_build_options do
# Default to fast compression on development branches
options += 'gzipcomp ' unless is_release?
+ # Make sure release builds are clean
+ options += 'cleanall ' if is_release?
+
# Default to the number of system CPUs when we can figure it out
cpus = system_cpus
options += "cpus=#{cpus} " if cpus