|
|
@@ -13,6 +13,12 @@ namespace('package', function() {
|
|
|
|
|
|
host.cleanCreateDir(dstDir);
|
|
|
|
|
|
+ // Copy WebGL artifacts into editor package
|
|
|
+ if (fs.existsSync(atomicRoot + "Artifacts/DistGen/Resources/ToolData/Deployment/Web")) {
|
|
|
+ fs.copySync(atomicRoot + "Artifacts/DistGen/Resources/ToolData/Deployment/Web",
|
|
|
+ config.artifactsRoot + "Artifacts/AtomicEditor/Resources/ToolData/Deployment/");
|
|
|
+ }
|
|
|
+
|
|
|
var installerName = "AtomicEditor_Windows64_Setup_" + config.buildSHA + ".exe";
|
|
|
var installerPath = config.artifactsRoot + "Dist/" + installerName;
|
|
|
|
|
|
@@ -69,6 +75,12 @@ namespace('package', function() {
|
|
|
|
|
|
host.cleanCreateDir(dstDir);
|
|
|
|
|
|
+ // Copy WebGL artifacts into editor package
|
|
|
+ if (fs.existsSync(atomicRoot + "Artifacts/DistGen/Resources/ToolData/Deployment/Web")) {
|
|
|
+ fs.copySync(atomicRoot + "Artifacts/DistGen/Resources/ToolData/Deployment/Web",
|
|
|
+ config.artifactsRoot + "Artifacts/AtomicEditor/AtomicEditor.app/Contents/Resources/ToolData/Deployment/");
|
|
|
+ }
|
|
|
+
|
|
|
cmds = [];
|
|
|
|
|
|
if (config.jenkins) {
|
|
|
@@ -97,7 +109,7 @@ namespace('package', function() {
|
|
|
});
|
|
|
|
|
|
});
|
|
|
-
|
|
|
+
|
|
|
task('linux_editor', {
|
|
|
async: true
|
|
|
}, function() {
|
|
|
@@ -109,14 +121,14 @@ namespace('package', function() {
|
|
|
|
|
|
host.cleanCreateDir(dstDir); // create new staging directory
|
|
|
fs.removeSync(dstDeb); // remove old one, if there
|
|
|
-
|
|
|
+
|
|
|
// copy in the two magic dirs
|
|
|
fs.copySync(config.atomicRoot + "Build/Linux/DEBIAN", dstDir + "DEBIAN");
|
|
|
fs.copySync(config.atomicRoot + "Build/Linux/usr", dstDir + "usr" );
|
|
|
|
|
|
// copy in the atomic dir
|
|
|
fs.copySync(editorAppFolder, dstDir + "usr/share/atomicgameengine" );
|
|
|
-
|
|
|
+
|
|
|
//copy in menu pixmap
|
|
|
fs.copySync(config.atomicRoot + "Build/Linux/atomic_menu.xpm", dstDir + "usr/share/atomicgameengine/atomic_menu.xpm" );
|
|
|
|
|
|
@@ -124,10 +136,10 @@ namespace('package', function() {
|
|
|
fs.copySync(config.atomicRoot + "LICENSE.md", dstDir + "usr/share/doc/atomicgameengine/copyright" );
|
|
|
|
|
|
cmds = [];
|
|
|
-
|
|
|
+
|
|
|
// go to staging root directory
|
|
|
cmds.push("cd " + config.artifactsRoot + " ;" );
|
|
|
-
|
|
|
+
|
|
|
// get rid of some lintian errors
|
|
|
cmds.push("find " + dstDir + "usr/share/atomicgameengine/ -name .gitignore -type f -delete ;");
|
|
|
cmds.push("find " + dstDir + "usr/share/atomicgameengine/ -maxdepth 9 -type f -print0 | xargs -0 chmod oug-x ;");
|