Skip to content
This repository has been archived by the owner on Nov 1, 2017. It is now read-only.

Commit

Permalink
Revert "Sync changes from upstream repository"
Browse files Browse the repository at this point in the history
This reverts commit c0f8242.
  • Loading branch information
dbussink committed Aug 3, 2016
1 parent 26e8ca5 commit 30ec6f7
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 15 deletions.
2 changes: 0 additions & 2 deletions .gitignore
Expand Up @@ -12,8 +12,6 @@
!/assets/vendor/lunr.js/lunr.js
!/assets/vendor/lunr.js/lunr.min.js

_site/
enterprise/
output
tmp
.DS_Store
Expand Down
7 changes: 0 additions & 7 deletions Rakefile
Expand Up @@ -20,10 +20,6 @@ task :build do
end
end

task :build_latest_ent do
puts sh "script/enterprise-backport #{config[:versions].first} --keep"
end

desc "Test the output"
task :test => [:remove_tmp_dir, :remove_output_dir, :build] do
Rake::Task['spec'].invoke
Expand Down Expand Up @@ -84,9 +80,6 @@ end
namespace :assets do
task :precompile => [:build] do
sh 'mv output _site/'
Rake::Task['build_latest_ent'].invoke
sh "mkdir -p _site/enterprise/#{config[:versions].first}"
sh "mv output/* _site/enterprise/#{config[:versions].first}"
end
end

Expand Down
2 changes: 1 addition & 1 deletion script/enterprise-backport
Expand Up @@ -52,7 +52,7 @@ data_variables:
Nanoc::Int::SiteLoader.new.new_with_config(versioned_config).compile

puts `node_modules/gulp/bin/gulp.js assets`
raise unless $CHILD_STATUS.to_i == 0
fail unless $CHILD_STATUS.to_i == 0

versioned_config
end
Expand Down
2 changes: 1 addition & 1 deletion tasks/utils.rake
@@ -1,4 +1,3 @@
require 'yaml'
require 'json'
require 'active_support/core_ext/hash'

Expand All @@ -9,3 +8,4 @@ end
def symbolize_hash(hash)
hash.deep_symbolize_keys
end

4 changes: 0 additions & 4 deletions tasks/versioning.rake
Expand Up @@ -131,7 +131,3 @@ def cleanup
FileUtils.rm_rf "#{VERSIONED_ENT_PATH}/assets/vendor"
FileUtils.rm_rf "#{VERSIONED_ENT_PATH}/assets/images"
end

def keep?
ARGV.include?('--keep')
end

0 comments on commit 30ec6f7

Please sign in to comment.