File: rakefile.rb

package info (click to toggle)
ruby-fssm 0.2.10-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 380 kB
  • sloc: ruby: 1,082; makefile: 2
file content (14 lines) | stat: -rw-r--r-- 426 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# -*- encoding: utf-8 -*-
$LOAD_PATH.unshift(File.expand_path('../lib', File.dirname(__FILE__)))

require 'rubygems/dependency_installer'
require 'fssm'

# semi-elegant solution or hack? *shrug*
task :default do
  name, version = FSSM::Support.optimal_backend_dependency
  if name and version
    installer = Gem::DependencyInstaller.new({:domain => :both, :env_shebang => true})
    installer.install name, version
  end
end