Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings
This repository was archived by the owner on Nov 1, 2017. It is now read-only.

Commit30ec6f7

Browse files
committed
Revert "Sync changes from upstream repository"
This reverts commitc0f8242.
1 parent26e8ca5 commit30ec6f7

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_entdo
24-
putssh"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:assetsdo
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-
raiseunless $CHILD_STATUS.to_i ==0
55+
failunless $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
defsymbolize_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-
defkeep?
136-
ARGV.include?('--keep')
137-
end

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp