Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
110 additions
and
131 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,42 @@ | |||
#!/usr/bin/env ruby | |||
|
|||
# Detroit assembly. | |||
|
|||
service :gem do |s| | |||
s.gemspec = '.gemspec' | |||
end | |||
|
|||
service :github do |s| | |||
s.folder = 'web' | |||
end | |||
|
|||
service :dnote do |s| | |||
s.title = 'Source Notes' | |||
s.output = 'log/notes.html' | |||
end | |||
|
|||
service :locat do |s| | |||
s.output = 'log/locat.html' | |||
end | |||
|
|||
service :qedoc do |s| | |||
s.files = "demo/" | |||
s.output = "DEMO.md" | |||
s.title = "OStruct2" | |||
end | |||
|
|||
service :vclog do |s| | |||
s.output = ['log/history.html', | |||
'log/changes.html'] | |||
end | |||
|
|||
service :email do |s| | |||
s.mailto = ['ruby-talk@ruby-lang.org', | |||
'rubyworks-mailinglist@googlegroups.com'] | |||
end | |||
|
|||
service :yard do |s| | |||
s.yardopts = true | |||
s.priority = -1 | |||
end | |||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,13 @@ | |||
#!/usr/bin/env ruby | |||
|
|||
default :test | |||
|
|||
desc 'run unit tests' | |||
task 'test' do | |||
sh 'qed' | |||
end | |||
|
|||
task :prep do | |||
sh 'mast -u' | |||
sh 'index -u var' | |||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,16 @@ | |||
# | |||
# QED test coverage report using SimpleCov. | |||
# | |||
# Use `$properties.coverage_folder` to set directory in which to store | |||
# coverage report this defaults to `log/coverage`. | |||
# | |||
QED.configure 'coverage' do | |||
dir = $properties.coverage_folder | |||
require 'simplecov' | |||
SimpleCov.command_name 'QED' | |||
SimpleCov.start do | |||
coverage_dir(dir || 'log/coverage') | |||
#add_group "Label", "lib/qed/directory" | |||
end | |||
end | |||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,34 @@ | |||
#!/usr/bin/env ruby | |||
|
|||
# TODO: Do things in ruby where possible instead of shelling out! | |||
|
|||
ignore 'doc', 'log', 'pkg', 'tmp', 'site', 'web', 'work' | |||
|
|||
# TODO: Eventually Fire should provide access to metadata via a utility method. | |||
version = File.read('var/version').strip | |||
|
|||
#desc "update manifest" | |||
#task 'manifest' do | |||
# system 'mast -u' | |||
#end | |||
|
|||
#desc "release and tag" | |||
#task 'release' do | |||
# exit -1 unless system('detroit release') | |||
# system 'vclog-news | git tag -a -F - #{version}' | |||
#end | |||
|
|||
file 'var' do | |||
system 'index -u var' | |||
end | |||
|
|||
file 'lib' do | |||
#exit -1 unless system('detroit test') | |||
exit -1 unless system('qed') | |||
end | |||
|
|||
file 'demo' do | |||
#exit -1 unless system('detroit test') | |||
exit -1 unless system('qed') | |||
end | |||
|