#!/usr/bin/env ruby # -*- coding:utf-8 -*- require 'rubygems' require File.dirname(__FILE__) + '/../lib/kde-build' require 'kde-build/application' app = BuildTool::Application.instance # Set the root directory. Its where we find the config template app.root_directory= Pathname.new( File.dirname(__FILE__) ).join( '..' ).cleanpath # Read the configuration file. The configuration file to load depends on the # scriptname used to invoke us. This makes it possible to have more than one # configuration using symlinks if app.read_configuration( "#{Pathname.new($0).basename}.yaml" ) app.main(ARGV) end