Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
Noah
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
Noah
Commits
81bb62dc
Commit
81bb62dc
authored
Feb 09, 2011
by
John E. Vincent
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding warbler tasks inline. working on demo task
parent
ff060dad
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
0 deletions
+28
-0
Rakefile
Rakefile
+28
-0
No files found.
Rakefile
View file @
81bb62dc
...
@@ -104,3 +104,31 @@ RSpec::Core::RakeTask.new(:coverage) do |t|
...
@@ -104,3 +104,31 @@ RSpec::Core::RakeTask.new(:coverage) do |t|
t
.
rcov_opts
=
%q[--aggregate coverage.data --sort coverage --text-report --exclude "config,.bundle/*,gems/*,spec/*" -o doc/coverage -Ilib -i "noah.rb"]
t
.
rcov_opts
=
%q[--aggregate coverage.data --sort coverage --text-report --exclude "config,.bundle/*,gems/*,spec/*" -o doc/coverage -Ilib -i "noah.rb"]
end
end
if
RUBY_ENGINE
==
'jruby'
require
'warbler'
wt
=
Warbler
::
Task
.
new
task
:default
=>
wt
.
name
desc
"Generate a configuration file to customize your archive"
task
:config
=>
"
#{
wt
.
name
}
:config"
desc
"Install Warbler tasks in your Rails application"
task
:pluginize
=>
"
#{
wt
.
name
}
:pluginize"
desc
"Feature: package gem repository inside a jar"
task
:gemjar
=>
"
#{
wt
.
name
}
:gemjar"
desc
"Feature: make an executable archive"
task
:executable
=>
"
#{
wt
.
name
}
:executable"
desc
"Feature: precompile all Ruby files"
task
:compiled
=>
"
#{
wt
.
name
}
:compiled"
desc
"Display version of Warbler"
task
:version
=>
"
#{
wt
.
name
}
:version"
desc
"Demo environment"
task
:start_demo
do
puts
"Soon, young padawan"
end
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment