Skip to content

Commit

Permalink
Merge pull request #5 from ellemenno/v2.0.0
Browse files Browse the repository at this point in the history
v2.0.0
  • Loading branch information
ellemenno authored Aug 28, 2016
2 parents d3e69f3 + 5b497eb commit fc5f04a
Show file tree
Hide file tree
Showing 8 changed files with 201 additions and 120 deletions.
24 changes: 11 additions & 13 deletions LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,19 @@ The MIT License (MIT)
Copyright (c) pixeldroid
https://github.com/pixeldroid/loomtasks

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
21 changes: 12 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,24 +38,27 @@ Clone this repo.

Running `rake` in your project directory will execute the default task, which prints the list of available tasks and some useful info:

Foo v1.2.3 Rakefile running on Ruby 2.3.0 (lib=sprint33, test=sprint33)
Foo v1.2.3 Rakefile running on Ruby 2.3.0 (lib=sprint34, test=sprint34)
rake clean # removes intermediate files to ensure a clean build
rake clobber # removes all generated artifacts to restore project to checkout-like state
rake demo:build # builds FooDemo.loom for sprint33 SDK
rake demo:build # builds FooDemo.loom for sprint34 SDK
rake demo:cli[options] # executes FooDemo.loom as a commandline app, with options
rake demo:gui # launches FooDemo.loom as a GUI app
rake lib:build # builds Foo.loomlib for sprint33 SDK
rake lib:install # installs Foo.loomlib into sprint33 SDK
rake help # show detailed usage and project info
rake lib:build # builds Foo.loomlib for sprint34 SDK
rake lib:install # installs Foo.loomlib into sprint34 SDK
rake lib:release # prepares sdk-specific Foo.loomlib for release, and updates version in README
rake lib:show # lists libs installed for sprint33 SDK
rake lib:uninstall # removes Foo.loomlib from sprint33 SDK
rake lib:show # lists libs installed for sprint34 SDK
rake lib:uninstall # removes Foo.loomlib from sprint34 SDK
rake set:sdk[id] # sets the provided SDK version into lib/loom.config and test/loom.config
rake set:version[v] # sets the library version number into lib/src/Foo.build and lib/src/pixeldroid/cli/Foo.ls
rake set[sdk] # sets the provided SDK version into lib/loom.config and test/loom.config
rake test # shorthand for rake test:run
rake test:build # builds FooTest.loom against sprint33 SDK
rake test:build # builds FooTest.loom against sprint34 SDK
rake test:ci # runs FooTest.loom for CI
rake test:run # runs FooTest.loom for the console
rake version[v] # changes the library version number
(using loomtasks v1.2.0)
rake version # report loomlib version
(using loomtasks v1.2.1)

use `rake -D` for more detailed task descriptions

Expand Down
21 changes: 21 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,27 @@ task :install do |t, args|
puts ''
end

desc [
"show usage and project info",
].join("\n")
task :help do |t, args|
system("rake -D")

puts "Log bugs to: https://github.com/pixeldroid/loomtasks/issues"
puts "Project home page: https://github.com/pixeldroid/loomtasks"
puts ''
puts "Please see the README for additional details."
puts ''
end

desc [
"report loomtasks version",
].join("\n")
task :version do |t, args|
puts "loomtasks v#{VERSION}"
puts ''
end

namespace :list do

desc [
Expand Down
Loading

0 comments on commit fc5f04a

Please sign in to comment.