From 9bdd046bd402b44a9c56d0a0a11a65296466c9a3 Mon Sep 17 00:00:00 2001 From: jonathan Date: Wed, 4 Jun 2014 08:52:35 -0400 Subject: [PATCH] update rakefile for themes --- Rakefile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Rakefile b/Rakefile index 9d6e94a57..da12a3d50 100644 --- a/Rakefile +++ b/Rakefile @@ -114,14 +114,13 @@ def buildPmUi(homeDir, targetDir, mode) version = getVersion(homeDir) puts "Generating Theme files" - executeInto(homeDir, ["compileTheme[mafe]", "js"]) - + themeDir = Dir.pwd + "/vendor/colosa/MichelangeloFE/themes/mafe" + executeInto(homeDir, ["compileTheme[#{themeDir}]", "js"]) puts "\nCopying lib files into: #{pmUIDir}".bold - copyFiles({ "#{homeDir}/build/js/pmui-#{version}.js" => "#{pmUIDir}/pmui.min.js", - "#{homeDir}/themes/mafe/build/pmui-mafe.css" => "#{pmUIDir}/pmui.min.css", - "#{homeDir}/themes/mafe/build/images/*.png" => "#{targetDir}/css/images/", + "#{themeDir}/build/pmui-mafe.css" => "#{pmUIDir}/pmui.min.css", + "#{themeDir}/build/images/*.png" => "#{targetDir}/css/images/", "#{homeDir}/img/*" => "#{imgTargetDir}" })