Sha256: 965c261c0fb6ecbc0db618992d4a0edd5e418aea0fbd1446c5e7079f0f5e696a
Contents?: true
Size: 870 Bytes
Versions: 4
Compression:
Stored size: 870 Bytes
Contents
require 'bundler/gem_tasks' require 'rspec/core/rake_task' require 'rubocop/rake_task' require 'yard' require 'timeout' def shell(*args) puts "running: #{args.join(' ')}" system(args.join(' ')) end task :clean do shell('rm -rf pkg/ tmp/ coverage/ doc/ ' ) end task :gem => [:build] do shell('gem install pkg/*') end task :permissions => [ :clean ] do shell("chmod -v o+r,g+r * */* */*/* */*/*/* */*/*/*/* */*/*/*/*/*") shell("find . -type d -exec chmod o+x,g+x {} \\;") end task :build => :permissions YARD::Rake::YardocTask.new(:doc) do |t| t.files = %w(lib/**/*.rb exe/*.rb - README.adoc CHANGELOG.md LICENSE) t.options.unshift('--title', '"Sym – Symmetric Encryption for Humins"') t.after = -> { Thread.new { sleep 5; exec('open doc/index.html') } } end RSpec::Core::RakeTask.new(:spec) RuboCop::RakeTask.new task :default => :spec
Version data entries
4 entries across 4 versions & 2 rubygems
Version | Path |
---|---|
sym-3.0.2 | Rakefile |
sym-3.0.1 | Rakefile |
puma-daemon-0.1.0 | Rakefile |
sym-3.0.0 | Rakefile |