Skip to content
This repository has been archived by the owner on Dec 31, 2020. It is now read-only.

placek/casket

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ruby Casket

Packaging system for Ruby similar to JAR in Java.

Installation

RubyGems

Install Casket in traditional way

$ gem install casket

GitHub

Install Cascet from GitHub repository

$ git clone git://github.com/placek/casket.git
$ cd casket
$ rake build
$ gem install ./pkg/cascet-*.gem

Getting started

Ruby project requirements

To make your application self-executive create rake task to initialize application process. The task should be bind to default task. For example:

require 'hello_world.rb'

task :launch_application do           # create task
  HelloWorld.run                      # initiate application
end

task :default => :launch_application  # bind task to default one

For more examples please check github.com/placek/casket/tree/master/examples/.

Creating deployment package

To create Casket package simply go to your application directory and type:

$ casket --build

Then you should get an package with extension *.casket.

Running Casket projects

Tu run Casket project type:

$ casket <path to casket package>

If you don’t want to check dependences type:

$ casket --no-bundle <path to casket package>

Copyright © 2010 Paweł Placzyński. See LICENSE for details.

About

Packaging system for Ruby similar to JAR in Java.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages