Sha256: 4c49fa4043a1440045669c7d5b7fe75645440b7eca6ef7ef4ded08e410d2eaa1

Contents?: true

Size: 402 Bytes

Versions: 3

Compression:

Stored size: 402 Bytes

Contents

#!/usr/bin/env ruby
# frozen_string_literal: true

require "pathname"
require "fileutils"
include FileUtils

# path to your application root.
APP_ROOT = Pathname.new File.expand_path("../../", __FILE__)

def system!(*args)
  system(*args) || abort("\n== Command #{args} failed ==")
end

chdir APP_ROOT do
  system! "bundle exec rake release"

  system! "cd docs ; bundle exec rake publish; cd ../"
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
word_search-1.3.0 bin/release
word_search-1.2.1 bin/release
word_search-1.2.0 bin/release