fiedl/your_platform

View on GitHub
lib/tasks/install_node_modules.rake

Summary

Maintainability
Test Coverage
namespace :your_platform do
  namespace :install do

    task :node_modules => [:environment] do
      require 'fiedl/log'

      your_platform_path = File.expand_path(File.join(__FILE__, "../../.."))
      Fiedl::Log::Log.new.shell "cd #{your_platform_path}; bin/pack"
      Fiedl::Log::Log.new.shell "ls #{your_platform_path}/vendor/packs"
    end
  end
end