-
-
Save Sophrinix/242455529d66bff0cc5e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var tasks = [ | |
// first task is to copy all files in the Resources directory, but ignore | |
// any directory that is the name of a known platform | |
function (cb) { | |
copyDir.call(this, { | |
src: path.join(this.projectDir, 'Resources'), | |
dest: this.xcodeAppDir, | |
ignoreRootDirs: ti.availablePlatformsNames | |
}, cb); | |
}, | |
// next copy all files from the iOS specific Resources directory | |
function (cb) { | |
copyDir.call(this, { | |
src: path.join(this.projectDir, 'Resources', 'iphone'), | |
dest: this.xcodeAppDir | |
}, cb); | |
}, | |
function (cb) { | |
copyDir.call(this, { | |
src: path.join(this.projectDir, 'Resources', 'ios'), | |
dest: this.xcodeAppDir | |
}, cb); | |
}, | |
// last let's move that Settings.bundle into the xcodeAppDir, where it belongs. | |
//symlinkResources(path.join(this.projectDir, 'platform', 'iphone'), this.xcodeAppDir, false); | |
function (cb) { | |
copyDir.call(this, { | |
src: path.join(this.projectDir, 'platform', 'iphone'), | |
dest: this.xcodeAppDir | |
}, cb); | |
}, | |
]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment