|
@@ -111,7 +111,7 @@ task import: %w(bundle_install) do
|
|
sh(
|
|
sh(
|
|
'bundle', 'exec', 'twee2', 'decompile',
|
|
'bundle', 'exec', 'twee2', 'decompile',
|
|
file.dest_file, file.source_file,
|
|
file.dest_file, file.source_file,
|
|
- '--exclude=StoryJS,StoryCSS,StoryTitle',
|
|
|
|
|
|
+ '--exclude=StoryJS,StoryCSS,StoryTitle,Twee2Settings',
|
|
'--exclude-from=../stylesheet.tw2,../storyjs.tw2,../stylesheet.tw2,../images.tw2',
|
|
'--exclude-from=../stylesheet.tw2,../storyjs.tw2,../stylesheet.tw2,../images.tw2',
|
|
)
|
|
)
|
|
end
|
|
end
|
|
@@ -127,7 +127,7 @@ task import_main: %w(bundle_install) do
|
|
'bundle', 'exec', 'twee2', 'decompile',
|
|
'bundle', 'exec', 'twee2', 'decompile',
|
|
File.join(STORY_DIR, STORY_RELEASE_TITLE + '.html'),
|
|
File.join(STORY_DIR, STORY_RELEASE_TITLE + '.html'),
|
|
'./' + file.source_file,
|
|
'./' + file.source_file,
|
|
- '--exclude=StoryJS,StoryCSS,StoryTitle',
|
|
|
|
|
|
+ '--exclude=StoryJS,StoryCSS,StoryTitle,Twee2Settings',
|
|
"--exclude-from=#{excludes.join(',')}",
|
|
"--exclude-from=#{excludes.join(',')}",
|
|
)
|
|
)
|
|
end
|
|
end
|