File tree Expand file tree Collapse file tree 4 files changed +16
-2
lines changed Expand file tree Collapse file tree 4 files changed +16
-2
lines changed Original file line number Diff line number Diff line change @@ -112,6 +112,12 @@ task :clean do
112112 warn "Don't run clean using Rake. Run `./do clean` (alias for `./bin/clean`) instead."
113113end
114114
115+ desc "Clean up all generated files and container"
116+ task :clobber do
117+ warn "Don't run clean using Rake. Run `./do clean` (alias for `./bin/clean`) instead."
118+ end
119+
120+
115121namespace :test do
116122 task :insts do
117123 puts "Checking instruction encodings..."
Original file line number Diff line number Diff line change 22
33ROOT=$( dirname $( dirname $( realpath ${BASH_SOURCE[0]} ) ) )
44
5- rm -rf ${ROOT} /.stamps ${ROOT} /.home ${ROOT} /.bundle ${ROOT} /.singularity ${ROOT} / gen ${ROOT} /node_modules
5+ rm -rf ${ROOT} /.stamps ${ROOT} /gen
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ ROOT=$( dirname $( dirname $( realpath $BASH_SOURCE [0]) ) )
4+
5+ rm -rf ${ROOT} /.stamps ${ROOT} /.home ${ROOT} /.bundle ${ROOT} /.singularity ${ROOT} /gen ${ROOT} /node_modules
Original file line number Diff line number Diff line change 22
33ROOT=$( dirname $( realpath ${BASH_SOURCE[0]} ) )
44
5- if [ " $1 " == " clean" ]; then
5+ if [ " $1 " == " clobber" ]; then
6+ ${ROOT} /bin/clobber
7+ exit $?
8+ elif [ " $1 " == " clean" ]; then
69 ${ROOT} /bin/clean
710 exit $?
811fi
You can’t perform that action at this time.
0 commit comments