Sha256: cc7f06e2ba6b503c5d2461830454756d53fa4b0b87177d0ffe035dfc6dd6bc44

Contents?: true

Size: 534 Bytes

Versions: 1

Compression:

Stored size: 534 Bytes

Contents

require 'bundler/gem_tasks'
require 'bundler/setup'

task :default => :test

desc "Run test suite"
task :test do
  sh "bacon -a"
end

PAGES_REPO = 'git@github.com:whitequark/ast'

desc "Build and deploy documentation to GitHub pages"
task :pages do
  system "git clone #{PAGES_REPO} gh-temp/ -b gh-pages; rm gh-temp/* -rf; touch gh-temp/.nojekyll" or abort
  system "yardoc -o gh-temp/;" or abort
  system "cd gh-temp/; git add -A; git commit -m 'Updated pages.'; git push -f origin gh-pages" or abort
  FileUtils.rm_rf 'gh-temp'
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ast-1.0.1 Rakefile