Sha256: 4493ee0f6c6508aeb2cdb4bd31cd1d9e0f19d8ddaa413d93deab0bd20ad75b24

Contents?: true

Size: 776 Bytes

Versions: 91

Compression:

Stored size: 776 Bytes

Contents

include Distribution

namespace :distribution do
  desc 'Package octodown into self-contained programs'
  task :package do
    %w(linux:x86 linux:x86_64 osx).each do |task|
      fork do
        Rake::Task["distribution:package:#{task}"].invoke
        exit
      end

      sleep 0.01
    end

    Process.waitall
  end

  namespace :package do
    namespace :linux do
      desc 'Package for Linux x86'
      task :x86 do
        Package.create 'linux-x86'
      end

      desc 'Package for Linux x86_64'
      task :x86_64 do
        Package.create 'linux-x86_64'
      end
    end

    desc 'Package for OS X'
    task :osx do
      Package.create 'osx'
    end
  end

  desc 'Generate release notes'
  task :release_notes do
  #  puts ReleaseNotes.new.content
  end
end

Version data entries

91 entries across 91 versions & 3 rubygems

Version Path
brief-1.17.14 tasks/package.rake
brief-1.17.13 tasks/package.rake
brief-1.17.12 tasks/package.rake
brief-1.17.11 tasks/package.rake
brief-1.17.10 tasks/package.rake
brief-1.17.9 tasks/package.rake
brief-1.17.8 tasks/package.rake
brief-1.17.7 tasks/package.rake
brief-1.17.5 tasks/package.rake
brief-1.17.4 tasks/package.rake
brief-1.17.3 tasks/package.rake
brief-1.17.2 tasks/package.rake
brief-1.17.1 tasks/package.rake
brief-1.17.0 tasks/package.rake
brief-1.16.2 tasks/package.rake
brief-1.16.1 tasks/package.rake
brief-1.16.0 tasks/package.rake
brief-1.15.5 tasks/package.rake
brief-1.15.4 tasks/package.rake
brief-1.15.3 tasks/package.rake