From ffed1894842d3ae6fbc8580abed762331d596c6f Mon Sep 17 00:00:00 2001 From: Olivier Lacan Date: Mon, 6 Mar 2023 20:22:02 -0800 Subject: [PATCH] Add clean task --- Rakefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Rakefile b/Rakefile index 74d7d27..4008fea 100644 --- a/Rakefile +++ b/Rakefile @@ -2,3 +2,9 @@ require "middleman-gh-pages" desc "Build and publish to GitHub Pages" task :deploy => :publish + +desc "Clean build directory" +task :clean do + puts "Cleaning build/ directory" + system("rm -rf build/") +end \ No newline at end of file