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

Commit 30ec6f7

Browse files
committed
Revert "Sync changes from upstream repository"
This reverts commit c0f8242.
1 parent 26e8ca5 commit 30ec6f7

File tree

5 files changed

+2
-15
lines changed

5 files changed

+2
-15
lines changed

.gitignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212
!/assets/vendor/lunr.js/lunr.js
1313
!/assets/vendor/lunr.js/lunr.min.js
1414

15-
_site/
16-
enterprise/
1715
output
1816
tmp
1917
.DS_Store

Rakefile

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,6 @@ task :build do
2020
end
2121
end
2222

23-
task :build_latest_ent do
24-
puts sh "script/enterprise-backport #{config[:versions].first} --keep"
25-
end
26-
2723
desc "Test the output"
2824
task :test => [:remove_tmp_dir, :remove_output_dir, :build] do
2925
Rake::Task['spec'].invoke
@@ -84,9 +80,6 @@ end
8480
namespace :assets do
8581
task :precompile => [:build] do
8682
sh 'mv output _site/'
87-
Rake::Task['build_latest_ent'].invoke
88-
sh "mkdir -p _site/enterprise/#{config[:versions].first}"
89-
sh "mv output/* _site/enterprise/#{config[:versions].first}"
9083
end
9184
end
9285

script/enterprise-backport

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ data_variables:
5252
Nanoc::Int::SiteLoader.new.new_with_config(versioned_config).compile
5353

5454
puts `node_modules/gulp/bin/gulp.js assets`
55-
raise unless $CHILD_STATUS.to_i == 0
55+
fail unless $CHILD_STATUS.to_i == 0
5656

5757
versioned_config
5858
end

tasks/utils.rake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
require 'yaml'
21
require 'json'
32
require 'active_support/core_ext/hash'
43

@@ -9,3 +8,4 @@ end
98
def symbolize_hash(hash)
109
hash.deep_symbolize_keys
1110
end
11+

tasks/versioning.rake

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,3 @@ def cleanup
131131
FileUtils.rm_rf "#{VERSIONED_ENT_PATH}/assets/vendor"
132132
FileUtils.rm_rf "#{VERSIONED_ENT_PATH}/assets/images"
133133
end
134-
135-
def keep?
136-
ARGV.include?('--keep')
137-
end

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy