Hackfut Security File Manager
Current Path:
/opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/mixlib-shellout-2.2.7
opt
/
td-agent
/
embedded
/
lib
/
ruby
/
gems
/
2.4.0
/
gems
/
mixlib-shellout-2.2.7
/
📁
..
📄
Gemfile
(236 B)
📄
LICENSE
(10.6 KB)
📄
README.md
(3.12 KB)
📄
Rakefile
(674 B)
📁
lib
📄
mixlib-shellout-windows.gemspec
(253 B)
📄
mixlib-shellout.gemspec
(770 B)
Editing: Rakefile
require 'rspec/core/rake_task' require 'rubygems/package_task' require 'mixlib/shellout/version' Dir[File.expand_path("../*gemspec", __FILE__)].reverse.each do |gemspec_path| gemspec = eval(IO.read(gemspec_path)) Gem::PackageTask.new(gemspec).define end desc "Run all specs in spec directory" RSpec::Core::RakeTask.new(:spec) do |t| t.pattern = FileList['spec/**/*_spec.rb'] end desc "Build it and ship it" task ship: [:clobber_package, :gem] do # sh("git tag #{Mixlib::ShellOut::VERSION}") sh("git push opscode --tags") Dir[File.expand_path("../pkg/*.gem", __FILE__)].reverse.each do |built_gem| sh("gem push #{built_gem}") end end task default: :spec
Upload File
Create Folder