2013-10-15 16:29:54 -04:00
2013-10-15 16:15:37 -04:00
2013-10-15 16:29:54 -04:00
2013-10-15 16:15:37 -04:00
2013-06-30 14:16:45 -04:00
2013-06-30 14:16:45 -04:00
2013-08-04 10:13:43 -04:00

Rscons

Software construction library inspired by SCons and implemented in Ruby

Installation

Add this line to your application's Gemfile:

gem 'rscons'

And then execute:

$ bundle

Or install it yourself as:

$ gem install rscons

Usage

RScons::Environment.new do |env|
  env.Program('program', Dir['*.c'])
end

main_env = RScons::Environment.new do |env|
  env.build_dir('src', 'build/main')
  env.Program('program', Dir['src/**/*.cc'])
end

debug_env = main_env.clone do |env|
  env.build_dir('src', 'build/debug')
  env['CFLAGS'] = ['-g', '-O0']
  env.Program('program-debug', Dir['src/**/*.cc'])
end

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request
Description
Rscons is a software construction library inspired by Scons and implemented in Ruby.
Readme 4.4 MiB
Languages
Ruby 98.7%
HTML 0.5%
C 0.5%
C++ 0.2%