bin/process_assets in daengine-0.4.5 vs bin/process_assets in daengine-0.4.6
- old
+ new
@@ -4,13 +4,12 @@
#
# The application 'process_assets' is installed as part of a gem, and
# this file is here to facilitate running it.
#
-require 'pathname'
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path("../../Gemfile",
- Pathname.new(__FILE__).realpath)
+require 'daengine'
-require 'rubygems'
-require 'bundler/setup'
+config = YAML.load_file(ARGV[0])
-load Gem.bin_path('daengine', 'process_assets')
+t = Daengine.execute(config)
+
+puts t
\ No newline at end of file