OM-234:CLONE - Add a zip to ProcessMaker with the files required to run cases in Mobile
fix mode
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -36,3 +36,4 @@ workflow/public_html/build-log.html
|
||||
temp.txt
|
||||
update.sh
|
||||
workflow/public_html/translations/
|
||||
build-prod.zip
|
||||
|
||||
9
Rakefile
9
Rakefile
@@ -36,7 +36,6 @@ task :build => [:required] do
|
||||
puts "Seems it is not a ProcessMaker installation"
|
||||
exit(1)
|
||||
end
|
||||
|
||||
if mode == "production"
|
||||
targetDir = publicDir + "/lib"
|
||||
pmUIFontsDir = targetDir + "/fonts"
|
||||
@@ -58,6 +57,7 @@ task :build => [:required] do
|
||||
|
||||
buildPmUi(Dir.pwd + "/vendor/colosa/pmUI", targetDir, mode)
|
||||
buildPmdynaform(Dir.pwd + "/vendor/colosa/pmDynaform", targetDir, mode)
|
||||
buildPmdynaformZip(Dir.pwd + "/vendor/colosa/pmDynaform", publicDir)
|
||||
buildMafe(Dir.pwd + "/vendor/colosa/MichelangeloFE", targetDir, mode)
|
||||
|
||||
|
||||
@@ -210,6 +210,13 @@ def buildPmdynaform(homeDir, targetDir, mode)
|
||||
puts "\nPmDynaform Build Finished!".magenta
|
||||
end
|
||||
|
||||
def buildPmdynaformZip(homeDir, targetDir)
|
||||
puts "\nBuilding Compress Zip library".green.bold
|
||||
executeInto(homeDir, [ "mobile"])
|
||||
copyFiles({homeDir + "/build-prod-zip/build-prod.zip" => targetDir + "/build-prod.zip"})
|
||||
puts "\nPmDynaform Zip Build Finished!".magenta
|
||||
end
|
||||
|
||||
def buildMafe(homeDir, targetDir, mode)
|
||||
puts "\nBuilding PM Michelangelo FE".green.bold
|
||||
|
||||
|
||||
Reference in New Issue
Block a user