Sha256: 88eafae27045df8174d05483ecda20f9284b4689ee75bfa9f5c06f6bc47671c5
Contents?: true
Size: 1.14 KB
Versions: 4
Compression:
Stored size: 1.14 KB
Contents
# frozen_string_literal: true require "bump/tasks" require "bundler/gem_tasks" require "rake/extensiontask" require "rake/testtask" require "rdoc/task" require "sdoc" require "standard/rake" Rake::TestTask.new(:test) do |t| t.libs << "test" t.libs << "lib" t.test_files = FileList["test/**/test_*.rb"] end task default: %i[clobber compile test standard] task build: :compile Rake::ExtensionTask.new("getargv_ruby") do |ext| ext.lib_dir = "lib/getargv_ruby" end RDoc::Task.new do |rdoc| rdoc.main = "README.md" rdoc.rdoc_dir = "doc" rdoc.options << "--format=sdoc" rdoc.template = "rails" rdoc.rdoc_files.include("ext/*/*.c", "lib/*/*.rb", "lib/*.rb") end namespace :dev do desc "generate a Makefile" task :makefile do ruby "ext/getargv_ruby/extconf.rb" end CLOBBER << "Makefile" compilation_db_path = "ext/getargv_ruby/compile_commands.json" desc "generate compilation database for language server" task database: :makefile do system "bear", "--output", compilation_db_path, "--", "make", "getargv_ruby.o" end CLOBBER << compilation_db_path end CLEAN.concat ["ext/getargv_ruby/.cache", "getargv_ruby.o", "mkmf.log"]
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
getargv-0.3.5-universal-darwin | Rakefile |
getargv-0.3.4-universal-darwin | Rakefile |
getargv-0.3.3-universal-darwin | Rakefile |
getargv-0.3.2-universal-darwin | Rakefile |