Class: Transcriptic::SBT::Installer
- Inherits:
-
BaseGenerator
- Object
- Thor::Group
- BaseGenerator
- Transcriptic::SBT::Installer
- Defined in:
- lib/transcriptic/sbt.rb
Instance Method Summary collapse
Methods inherited from BaseGenerator
Instance Method Details
#install ⇒ Object
71 72 73 74 75 76 |
# File 'lib/transcriptic/sbt.rb', line 71 def install get "http://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/sbt-launch/0.12.3/sbt-launch.jar", target.join("sbt/sbt-launch.jar") copy_file 'sbt', target.join('bin/sbt') chmod target.join('bin/sbt'), 0755 end |