Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

16 lines (12 sloc) 0.451 kb
task :default do
FileUtils.mkdir_p "build"
system "git archive --format=zip --prefix=projektnamn/ HEAD:projektnamn/ > build/nytt_wp-projekt.zip"
end
task :clean do
FileUtils.rm_rf "build"
FileUtils.rm_f ["projektnamn/config/wp-config.php", "projektnamn/wordpress/wp-config.php"]
end
task :test => [:clean] do
FileUtils.mkdir_p "build"
system "git archive --format=tar --prefix=projektnamn/ HEAD:projektnamn/ | (cd build; tar xf -)"
end
Jump to Line
Something went wrong with that request. Please try again.