README.md in neutron-0.1.0 vs README.md in neutron-0.2.0

- old
+ new

@@ -35,10 +35,12 @@ require 'neutron' require 'neutron/pkgconf' require 'neutron/cc' require 'neutron/valac' +require 'neutron/install' +require 'neutron/clean' Dir.chdir('src/') # We'll compile our stuff here # Neutron::PkgConf checks package availability for us packages = Neutron::PkgConf.new %w[ @@ -66,17 +68,33 @@ *Neutron::FileList['*.vala.o'], # Object files '../sample', # Target file args: packages.to_cc(cflags: false) # Package list ) end + +task :install do + # Installs results to #{prefix}/bin/. Uses ENV['PREFIX'] or '/usr/' as prefix + Neutron.install( + '../sample', + 'bin/' + ) +end + +task :clean do + # Removes all listed files + Neutron.clean( + *Neutron::FileList['*.vala.o'], + '../sample' + ) +end ``` ## ToDo -1. Gem-like version-checker -2. Shared-Object builder -3. `install` tool (must install headers, binaries, shared objects) -4. Finders for Boost, SFML, Qt, etc +1. Docs +2. Gem-like version-checker +3. Finish Neutron::Valac module +4. Finders for Boost, SFML, Qt, etc (should be implemented in separate gem) ## Development After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.