Loading Rakefile +6 −5 Original line number Diff line number Diff line Loading @@ -239,7 +239,7 @@ class JsDuckRunner "--guides", "#{@animator_dir}/docs/guides.json", "--examples", "#{@animator_dir}/docs/examples/examples.json", "--output", "#{@out_dir}", "--builtin-classes" "#{@animator_dir}/docs/docs" ] end Loading Loading @@ -463,10 +463,11 @@ end desc "Run JSDuck on Sencha Animator (for internal use at Sencha)\n" + "animator - creates debug/development version\n" + "animator[export] - create live version for deployment\n" "animator[live] - create live version for deployment\n" task :animator, [:mode] => :sass do |t, args| mode = args[:mode] || "debug" throw "Unknown mode #{mode}" unless ["debug", "live"].include?(mode) throw "Unknown mode #{mode}" unless ["debug", "live", "export"].include?(mode) compress if mode == "live" runner = JsDuckRunner.new Loading Loading
Rakefile +6 −5 Original line number Diff line number Diff line Loading @@ -239,7 +239,7 @@ class JsDuckRunner "--guides", "#{@animator_dir}/docs/guides.json", "--examples", "#{@animator_dir}/docs/examples/examples.json", "--output", "#{@out_dir}", "--builtin-classes" "#{@animator_dir}/docs/docs" ] end Loading Loading @@ -463,10 +463,11 @@ end desc "Run JSDuck on Sencha Animator (for internal use at Sencha)\n" + "animator - creates debug/development version\n" + "animator[export] - create live version for deployment\n" "animator[live] - create live version for deployment\n" task :animator, [:mode] => :sass do |t, args| mode = args[:mode] || "debug" throw "Unknown mode #{mode}" unless ["debug", "live"].include?(mode) throw "Unknown mode #{mode}" unless ["debug", "live", "export"].include?(mode) compress if mode == "live" runner = JsDuckRunner.new Loading