-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moves common dependencies to another repo
- Loading branch information
Showing
13 changed files
with
100 additions
and
253 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,19 @@ | ||
var exec = require('child_process').exec; | ||
var os = require('os'); | ||
const {exec} = require("child_process"); | ||
const os = require("os"); | ||
|
||
if (os.type() === 'Linux') { | ||
console.log("Skipping iOS Dependencies") | ||
} else if (os.type() === 'Darwin') { | ||
var downloadProcess = exec('./scripts/download-purchases-framework.sh 2.4.0') | ||
downloadProcess.stdout.pipe(process.stdout); | ||
} else if (os.type() === 'Windows_NT') { | ||
console.log("Skipping iOS Dependencies") | ||
} else{ | ||
throw new Error("Unsupported OS found: " + os.type()); | ||
if (os.type() === "Linux") { | ||
console.log("Skipping iOS Dependencies"); | ||
} else if (os.type() === "Darwin") { | ||
const downloadProcess = exec( | ||
"./scripts/download-purchases-framework.sh 2.5.0" | ||
); | ||
downloadProcess.stdout.pipe(process.stdout); | ||
const downloadProcessCommon = exec( | ||
"./scripts/download-purchases-common.sh 0.1.1" | ||
); | ||
downloadProcessCommon.stdout.pipe(process.stdout); | ||
} else if (os.type() === "Windows_NT") { | ||
console.log("Skipping iOS Dependencies"); | ||
} else { | ||
throw new Error(`Unsupported OS found: ${os.type()}`); | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
Purchases.framework | ||
.framework_version | ||
.framework_version | ||
.common_version | ||
Common |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
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
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.