update rakefile for themes
This commit is contained in:
9
Rakefile
9
Rakefile
@@ -114,14 +114,13 @@ def buildPmUi(homeDir, targetDir, mode)
|
|||||||
version = getVersion(homeDir)
|
version = getVersion(homeDir)
|
||||||
|
|
||||||
puts "Generating Theme files"
|
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
|
puts "\nCopying lib files into: #{pmUIDir}".bold
|
||||||
|
|
||||||
copyFiles({
|
copyFiles({
|
||||||
"#{homeDir}/build/js/pmui-#{version}.js" => "#{pmUIDir}/pmui.min.js",
|
"#{homeDir}/build/js/pmui-#{version}.js" => "#{pmUIDir}/pmui.min.js",
|
||||||
"#{homeDir}/themes/mafe/build/pmui-mafe.css" => "#{pmUIDir}/pmui.min.css",
|
"#{themeDir}/build/pmui-mafe.css" => "#{pmUIDir}/pmui.min.css",
|
||||||
"#{homeDir}/themes/mafe/build/images/*.png" => "#{targetDir}/css/images/",
|
"#{themeDir}/build/images/*.png" => "#{targetDir}/css/images/",
|
||||||
"#{homeDir}/img/*" => "#{imgTargetDir}"
|
"#{homeDir}/img/*" => "#{imgTargetDir}"
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user