-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathBuild Automation.xojo_code
More file actions
43 lines (37 loc) · 1.32 KB
/
Build Automation.xojo_code
File metadata and controls
43 lines (37 loc) · 1.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#tag BuildAutomation
Begin BuildStepList Linux
Begin BuildProjectStep Build
End
End
Begin BuildStepList Mac OS X
Begin BuildProjectStep Build
End
Begin IDEScriptBuildStep scrCodesignMac , AppliesTo = 2
Dim command As String
Dim result As String
// Remove all Finder information from files (codesign fails if this is not done)
command = "xattr -cr " + CurrentBuildLocation + "/OpenSceneryX\ Installer.app"
result = DoShellCommand(command)
// Sign the build
command = "codesign --force --options runtime --deep --sign ""Developer ID Application: Austin Goudge"" " + CurrentBuildLocation + "/OpenSceneryX\ Installer.app"
result = DoShellCommand(command)
End
End
Begin BuildStepList Windows
Begin BuildProjectStep Build
End
Begin CopyFilesBuildStep copyFileszlib
AppliesTo = 0
Destination = 0
Subdirectory =
FolderItem = Li4vTGlicmFyaWVzL3psaWIxLTY0L3psaWIxLmRsbA==
End
Begin IDEScriptBuildStep scrCodesignWin , AppliesTo = 2
Dim command As String
Dim result As String
command = "open -n -W -F -a Terminal " + CurrentBuildLocation + "/../../../Scripts/codesign-win.sh"
result = DoShellCommand(command)
If (result <> "") Then Print(result)
End
End
#tag EndBuildAutomation