Skip to content

Add archive and exportArchive for iOS. #1806

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 9, 2016

Conversation

PanayotCankov
Copy link
Contributor

@PanayotCankov PanayotCankov commented Jun 7, 2016

Resolves #1790

Tests for tns appstore with xcode archives

Added script that runs tsc --watch and upon changes runs mocha, good for unit test writing

Let us unit test easier, no references .d.ts anymore, no use strict anymore (ts will add this automagically)

Fixing unreachable code

Add tests for IOSProjectService archive and exportArchive

Added npm run mocha and npm run tsc to run tsc and mocha from dev dependencies.

Added npm run test-watch script that runs tsc --watch and on successful compilation runs also mocha from dev dependencies

@enchev
Copy link
Contributor

enchev commented Jun 7, 2016

👍

@PanayotCankov
Copy link
Contributor Author

@PanayotCankov PanayotCankov force-pushed the cankov/xcarchive-publish branch 3 times, most recently from 2c85966 to 76291fe Compare June 9, 2016 06:03
@@ -146,7 +124,22 @@ export class ITMSTransporterService implements IITMSTransporterService {
temp.track();
let destinationDir = temp.mkdirSync("ipa-");
this.$fs.unzip(ipaFileFullPath, destinationDir).wait();
let plistObject = this.$bplistParser.parseFile(path.join(destinationDir, "Payload", "iossampleapp.app", "Info.plist")).wait();
// WHAT THE FUCK! WHAT THE FUCKING FUUUCK!
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hahaha

Tests for tns appstore with xcode archives

Added script that runs tsc --watch and upon changes runs mocha, good for unit test writing

Let us unit test easier, no references .d.ts anymore, no use strict anymore (ts will add this automagically)

Fixing unreachable code

Add tests for IOSProjectService archive and exportArchive

Fix ITMS hardcoded app, xcodebuild archive -archivePath expects scheme, not target

Add shared schema from the project template
@PanayotCankov PanayotCankov force-pushed the cankov/xcarchive-publish branch from 76291fe to 15c7919 Compare June 9, 2016 06:10
@rosen-vladimirov
Copy link
Contributor

👍 I love the tests

@PanayotCankov
Copy link
Contributor Author

Aside the hardcoded app name in the ITMSTransporterService it was pleasure working with it.
I am merging this once all builds pass.

@PanayotCankov PanayotCankov merged commit 9a8891f into master Jun 9, 2016
@PanayotCankov PanayotCankov deleted the cankov/xcarchive-publish branch June 9, 2016 06:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants