More debug
parent
57636bcf23
commit
d6222f0684
|
|
@ -1334,12 +1334,16 @@ class SetupMac {
|
||||||
//static unityHubPath = `/Applications/Unity\\\\ Hub.app/Contents/MacOS/Unity\\\\ Hub`;
|
//static unityHubPath = `/Applications/Unity\\\\ Hub.app/Contents/MacOS/Unity\\\\ Hub`;
|
||||||
static setup(buildParameters, actionFolder) {
|
static setup(buildParameters, actionFolder) {
|
||||||
return __awaiter(this, void 0, void 0, function* () {
|
return __awaiter(this, void 0, void 0, function* () {
|
||||||
const [, changeset] = yield unity_changeset_1.getUnityChangeset(buildParameters.version);
|
const unityChangeset = yield unity_changeset_1.getUnityChangeset(buildParameters.version);
|
||||||
console.log(changeset);
|
console.log('changeset object: ');
|
||||||
|
console.log(unityChangeset);
|
||||||
|
console.log('changeset');
|
||||||
|
console.log(unityChangeset.changeset);
|
||||||
|
console.log('Got here');
|
||||||
//Since we are using shell scripts on the host, we need to set the environment variables from here
|
//Since we are using shell scripts on the host, we need to set the environment variables from here
|
||||||
process.env.SCRIPT_DIRECTORY = `${actionFolder}/platforms/mac/`;
|
process.env.SCRIPT_DIRECTORY = `${actionFolder}/platforms/mac/`;
|
||||||
process.env.UNITY_VERSION = buildParameters.version;
|
process.env.UNITY_VERSION = buildParameters.version;
|
||||||
process.env.UNITY_CHANGESET = changeset;
|
process.env.UNITY_CHANGESET = unityChangeset.changeset;
|
||||||
process.env.UNITY_SERIAL = buildParameters.unitySerial;
|
process.env.UNITY_SERIAL = buildParameters.unitySerial;
|
||||||
process.env.PROJECT_PATH = buildParameters.projectPath;
|
process.env.PROJECT_PATH = buildParameters.projectPath;
|
||||||
process.env.BUILD_TARGET = buildParameters.platform;
|
process.env.BUILD_TARGET = buildParameters.platform;
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -6,12 +6,16 @@ class SetupMac {
|
||||||
//static unityHubPath = `/Applications/Unity\\\\ Hub.app/Contents/MacOS/Unity\\\\ Hub`;
|
//static unityHubPath = `/Applications/Unity\\\\ Hub.app/Contents/MacOS/Unity\\\\ Hub`;
|
||||||
|
|
||||||
public static async setup(buildParameters: BuildParameters, actionFolder: string) {
|
public static async setup(buildParameters: BuildParameters, actionFolder: string) {
|
||||||
const [, changeset] = await getUnityChangeset(buildParameters.version);
|
const unityChangeset = await getUnityChangeset(buildParameters.version);
|
||||||
console.log(changeset);
|
console.log('changeset object: ');
|
||||||
|
console.log(unityChangeset);
|
||||||
|
console.log('changeset');
|
||||||
|
console.log(unityChangeset.changeset);
|
||||||
|
console.log('Got here');
|
||||||
//Since we are using shell scripts on the host, we need to set the environment variables from here
|
//Since we are using shell scripts on the host, we need to set the environment variables from here
|
||||||
process.env.SCRIPT_DIRECTORY = `${actionFolder}/platforms/mac/`;
|
process.env.SCRIPT_DIRECTORY = `${actionFolder}/platforms/mac/`;
|
||||||
process.env.UNITY_VERSION = buildParameters.version;
|
process.env.UNITY_VERSION = buildParameters.version;
|
||||||
process.env.UNITY_CHANGESET = changeset;
|
process.env.UNITY_CHANGESET = unityChangeset.changeset;
|
||||||
process.env.UNITY_SERIAL = buildParameters.unitySerial;
|
process.env.UNITY_SERIAL = buildParameters.unitySerial;
|
||||||
process.env.PROJECT_PATH = buildParameters.projectPath;
|
process.env.PROJECT_PATH = buildParameters.projectPath;
|
||||||
process.env.BUILD_TARGET = buildParameters.platform;
|
process.env.BUILD_TARGET = buildParameters.platform;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue