Sha256: cdee09b735fe4c7fe639cf06bd4bba6a09981882422cd7baf3e1f1b31f00a46a
Contents?: true
Size: 532 Bytes
Versions: 1
Compression:
Stored size: 532 Bytes
Contents
require 'lotion' Lotion.require do |graph| Motion::Project::App.setup do |app| # Add the app dir to the search path graph.path << './app' # Scan the app dir for dependent files graph.scan './app/**/*.rb' # Scan the specs dir for dependent files # FIXME add once https://github.com/HipByte/RubyMotion/pull/84 merges graph.scan File.join( app.specs_dir, '**/*.rb' ) # if app.spec_mode # Add the dependency graph to the app app.files += graph.files app.files_dependencies graph end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
lotion-0.1.0 | lib/lotion/project.rb |