Skip to content
Browse files

Make sure we don't deploy old cruft

  • Loading branch information...
1 parent d08b76c commit 4b366e51e814412c4b9afe94ddaa5e2563c1580b @wagenet wagenet committed Dec 29, 2012
Showing with 3 additions and 17 deletions.
  1. +3 −17 Rakefile
View
20 Rakefile
@@ -10,6 +10,9 @@ end
def git_update
system "git fetch origin"
system "git reset --hard origin/master"
+ # Remove all files so we don't accidentally keep old stuff
+ # These will be regenerated by the build process
+ system "rm `git ls-files`"
end
def ember_path
@@ -71,23 +74,6 @@ task :preview do
system "middleman server"
end
-=begin
-namespace :examples do
-
- desc "Update the included examples from the separate examples repository"
- task :update do
- mkdir_p "source/examples"
- Dir.chdir "source/examples" do
- git_initialize("examples")
- git_update
- `ls .git`
- FileUtils.rm_rf(".git")
- end
- end
-
-end
-=end
-
desc "Deploy the website to github pages"
task :deploy do |t, args|
require "highline/import"

0 comments on commit 4b366e5

Please sign in to comment.
Something went wrong with that request. Please try again.