mercure 0.0.18 → 0.0.24
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mercure/build.rb +1 -0
- data/lib/mercure/deploy.rb +2 -2
- data/lib/mercure/ipa.rb +3 -0
- data/lib/mercure/parse.rb +8 -0
- data/lib/mercure/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 437e7c62cb2227c03eaa6337482aadd8713ca487
|
4
|
+
data.tar.gz: 62eddff05ff4e1e3ad6a40dd8f8cc0483a9ae548
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2ed47d1e6c090e107af13f9667993e8478853e18b98aa6b27cbbb860affc3d360c14ed2c6ae666095b74ec24f077c2a4e4fbbe06ed7c7d0d9469810c9fcd37b7
|
7
|
+
data.tar.gz: 1b91ccf67a8bcea9b4e5049dadee37766866838339c43526e8e8167d7a793ec81e5720c90faf9c3c243da2a912683ec81b022ff8f7eedb8263ce9fde8ce9cd36
|
data/lib/mercure/build.rb
CHANGED
@@ -21,6 +21,7 @@ def buildApp (settings)
|
|
21
21
|
build_command += " -workspace \"#{workspaceName}\""
|
22
22
|
build_command += " -scheme \"#{schemeName}\""
|
23
23
|
build_command += " -configuration #{buildConfiguration}"
|
24
|
+
build_command += " -sdk iphoneos"
|
24
25
|
build_command += " BUILD_DIR=\"#{buildDirectory}\""
|
25
26
|
build_command += " BUILD_PRODDUCTS_DIR=\"#{buildDirectory}\"/#{buildConfiguration}-iphoneos"
|
26
27
|
build_command += " TARGET_BUILD_DIR=\"#{buildDirectory}\"/#{buildConfiguration}-iphoneos"
|
data/lib/mercure/deploy.rb
CHANGED
@@ -68,7 +68,7 @@ def buildDeploy (deploy)
|
|
68
68
|
|
69
69
|
puts "Création de l'.app"
|
70
70
|
buildApp settings
|
71
|
-
updateBuild settings
|
71
|
+
#updateBuild settings
|
72
72
|
|
73
73
|
puts "Création de l'.ipa et du .plist"
|
74
74
|
buildArtefacts settings
|
@@ -206,7 +206,7 @@ def panDeployments (plist)
|
|
206
206
|
|
207
207
|
puts "Création de l'.app"
|
208
208
|
buildApp settings
|
209
|
-
updateBuild settings
|
209
|
+
#updateBuild settings
|
210
210
|
|
211
211
|
puts "Création de l'.ipa et du .plist"
|
212
212
|
buildArtefacts settings
|
data/lib/mercure/ipa.rb
CHANGED
@@ -27,9 +27,12 @@ def generateIpa settings
|
|
27
27
|
|
28
28
|
puts "Construction de l'IPA"
|
29
29
|
|
30
|
+
# system("codesign -s \"#{signingIdentity}\" \"#{appPath}\"")
|
31
|
+
|
30
32
|
signingCommand = "/usr/bin/xcrun -sdk iphoneos PackageApplication"
|
31
33
|
signingCommand += " -v \"#{appPath}\""
|
32
34
|
signingCommand += " -o \"#{ipaPath}\""
|
35
|
+
signingCommand += " --sign \"#{signingIdentity}\""
|
33
36
|
signingCommand += " --embed \"#{provisioningProfile}\""
|
34
37
|
signingCommand += " | tee \"#{buildDirectory}/logs/#{applicationName}_package.log\""
|
35
38
|
|
data/lib/mercure/parse.rb
CHANGED
@@ -38,6 +38,14 @@ def updateParse (settings)
|
|
38
38
|
puts "le déploiement a bien été mis à jour"
|
39
39
|
end
|
40
40
|
|
41
|
+
# on "met à jour" l'application
|
42
|
+
|
43
|
+
appQuery = Parse::Query.new("Application")
|
44
|
+
appQuery.eq("objectId", parseInfos["applicationId"])
|
45
|
+
app = appQuery.get.first
|
46
|
+
|
47
|
+
dontCare = app.save
|
48
|
+
|
41
49
|
result["objectId"]
|
42
50
|
|
43
51
|
end
|
data/lib/mercure/version.rb
CHANGED