Hackfut Security File Manager
Current Path:
/opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/strptime-0.2.3
opt
/
td-agent
/
embedded
/
lib
/
ruby
/
gems
/
2.4.0
/
gems
/
strptime-0.2.3
/
📁
..
📄
.clang-format
(1.96 KB)
📄
.gitignore
(124 B)
📄
.rspec
(31 B)
📄
.travis.yml
(268 B)
📄
Gemfile
(93 B)
📄
LICENSE.txt
(1.36 KB)
📄
README.md
(1.51 KB)
📄
Rakefile
(1010 B)
📄
appveyor.yml
(400 B)
📁
bin
📁
ext
📁
lib
📄
strptime.gemspec
(1.15 KB)
Editing: Rakefile
require "bundler" Bundler::GemHelper.install_tasks require "rspec/core/rake_task" require 'yard' RSpec::Core::RakeTask.new(:spec) task :default => [:compile, :spec] require "rake/extensiontask" task :build => :compile task :spec => :compile desc 'Generate YARD document' YARD::Rake::YardocTask.new(:doc) do |t| t.files = ['ext/strptime/strptime.c'] t.options = [] t.options << '--debug' << '--verbose' if $trace end spec = eval File.read("strptime.gemspec") Rake::ExtensionTask.new("strptime", spec) do |ext| ext.ext_dir = 'ext/strptime' ext.cross_compile = true ext.lib_dir = File.join(*['lib', 'strptime', ENV['FAT_DIR']].compact) # cross_platform names are of MRI's platform name ext.cross_platform = ['x86-mingw32', 'x64-mingw32'] end namespace :build do desc 'Build gems for Windows per rake-compiler-dock' task :windows do require 'rake_compiler_dock' RakeCompilerDock.sh 'bundle && rake cross native gem RUBY_CC_VERSION=2.0.0:2.1.6:2.2.2:2.3.0:2.4.0:2.5.0' end end
Upload File
Create Folder