2 Star 0 Fork 0

mirrors_sporkmonger/vlad

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
Rakefile 1.16 KB
一键复制 编辑 原始数据 按行查看 历史
Anton Rogov 提交于 2008-08-14 18:48 . Renamed gem to fs_vlad-1.2.0.1
# -*- ruby -*-
require 'rubygems'
require 'hoe'
$: << 'lib'
require 'vlad'
Hoe.new('fs_vlad', Vlad::VERSION) do |vlad|
vlad.rubyforge_name = 'hitsquad'
vlad.developer('Ryan Davis', 'ryand-ruby@zenspider.com')
vlad.developer('Eric Hodel', 'drbrain@segment7.net')
vlad.developer('Wilson Bilkovich', 'wilson@supremetyrant.com')
vlad.extra_deps << 'rake' << 'open4'
vlad.multiruby_skip << "1.9" << "rubinius"
end
desc "quick little hack to see what the state of the nation looks like"
task :debug do
Vlad.load :config => "lib/vlad/subversion.rb"
set :repository, "repository path"
set :deploy_to, "deploy path"
set :domain, "server domain"
Rake::Task['vlad:debug'].invoke
end
task :flog do
sh 'flog -s lib'
end
task :flog_full do
sh 'flog -a lib'
end
task :mana_from_heaven do
# vlad = vlad + rake + open4
# rake sans-contrib = 2035.98356718206
vlad = `flog -s lib`.to_f + 2350.30744806517 + 502.363818023761
cap = 11480.3919695285
ratio = cap / vlad
target = cap / Math::PI
puts "%14.8f = %s" % [vlad, "vlad"]
puts "%14.8f = %s" % [ratio, "ratio"]
puts "%14.8f = %s" % [target - vlad, "needed delta"]
end
# vim: syntax=Ruby
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors_sporkmonger/vlad.git
git@gitee.com:mirrors_sporkmonger/vlad.git
mirrors_sporkmonger
vlad
vlad
master

搜索帮助