diff --git a/Rakefile b/Rakefile index 1623e6b4f2010a814725ade17f753d500ba0bc6e..6d76f8c2b9ac4118e73e0e705174b27a187843ea 100644 --- a/Rakefile +++ b/Rakefile @@ -313,6 +313,16 @@ class JsDuckRunner ] end + def add_touch2_export_notice + @options += [ + "--body-html", <<-EOHTML +
+ EOHTML + ] + end + def add_google_analytics @options += [ "--body-html", <<-EOHTML @@ -408,7 +418,7 @@ task :sdk, [:mode] => :sass do |t, args| runner.add_sdk runner.add_debug if mode == "debug" runner.add_seo if mode == "debug" || mode == "live" - runner.add_export_notice if mode == "export" + runner.add_sdk_export_notice if mode == "export" runner.add_google_analytics if mode == "live" runner.run @@ -457,7 +467,7 @@ task :touch2, [:mode] => :sass do |t, args| runner = JsDuckRunner.new runner.add_touch2 runner.add_debug if mode == "debug" - runner.add_export_notice if mode == "export" + runner.add_touch2_export_notice if mode == "export" runner.add_seo if mode == "debug" || mode == "live" runner.run