Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 30ec6f7

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

File tree

Expand file treeCollapse file tree

5 files changed

+2
-15
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

5 files changed

+2
-15
lines changed
Open diff view settings
Collapse file

‎.gitignore‎

Copy file name to clipboardExpand all lines: .gitignore
-2Lines 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
Collapse file

‎Rakefile‎

Copy file name to clipboardExpand all lines: Rakefile
-7Lines 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

Collapse file

‎script/enterprise-backport‎

Copy file name to clipboardExpand all lines: script/enterprise-backport
+1-1Lines 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
Collapse file

‎tasks/utils.rake‎

Copy file name to clipboardExpand all lines: tasks/utils.rake
+1-1Lines 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+
Collapse file

‎tasks/versioning.rake‎

Copy file name to clipboardExpand all lines: tasks/versioning.rake
-4Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.