Sha256: f2a085f44633e62093dcf7bab650f50ec932fb9962a6ba93363b2e337dd25abf

Contents?: true

Size: 652 Bytes

Versions: 8

Compression:

Stored size: 652 Bytes

Contents

require 'bundler/gem_tasks'
require 'rspec/core/rake_task'
require 'yard'

def shell(*args)
  puts "running: #{args.join(' ')}"
  system(args.join(' '))
end

task :permissions do 
  shell('rm -rf pkg/')
  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.md LICENSE)
  t.options.unshift('--title','"Sym – Symmetric Key Encryption for Your Data"')
  t.after = ->() { exec('open doc/index.html') }
end

RSpec::Core::RakeTask.new(:spec)

task :default => :spec


Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
sym-crypt-1.2.0 Rakefile
arduino-library-0.6.0 Rakefile
arduino-library-0.5.5 Rakefile
arduino-library-0.5.4 Rakefile
arduino-library-0.5.3 Rakefile
arduino-library-0.5.1 Rakefile
sym-crypt-1.1.1 Rakefile
sym-crypt-1.0.0 Rakefile