mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2025-01-02 20:07:25 +03:00
Make CODE_SIGN gyp var lowercase and 💄 it in Rakefile
This commit is contained in:
parent
2cb18f5855
commit
93cddcf8dc
3
Rakefile
3
Rakefile
@ -16,7 +16,8 @@ task "create-xcode-project" => ["update-cef", "update-node"] do
|
||||
`rm -rf atom.xcodeproj`
|
||||
`script/generate-sources-gypi`
|
||||
version = %{-D version="#{ENV['VERSION']}"} if ENV['VERSION']
|
||||
`gyp --depth=. -D CODE_SIGN="#{ENV['CODE_SIGN']}" #{version} atom.gyp`
|
||||
code_sign = %{-D code_sign="#{ENV['CODE_SIGN']}"} if ENV['CODE_SIGN']
|
||||
`gyp --depth=. #{code_sign} #{version} atom.gyp`
|
||||
end
|
||||
|
||||
desc "Update CEF to the latest version specified by the prebuilt-cef submodule"
|
||||
|
7
atom.gyp
7
atom.gyp
@ -3,6 +3,7 @@
|
||||
'pkg-config': 'pkg-config',
|
||||
'chromium_code': 1,
|
||||
'version%': "<!(git rev-parse --short HEAD)",
|
||||
'code_sign%': 0,
|
||||
'use_aura%': 0,
|
||||
'conditions': [
|
||||
['OS=="win"', {
|
||||
@ -76,8 +77,8 @@
|
||||
'LD_RUNPATH_SEARCH_PATHS': '@executable_path/../Frameworks',
|
||||
},
|
||||
'conditions': [
|
||||
['CODE_SIGN' , {
|
||||
'xcode_settings': {'CODE_SIGN_IDENTITY': "<(CODE_SIGN)"},
|
||||
['code_sign' , {
|
||||
'xcode_settings': {'CODE_SIGN_IDENTITY': "<(code_sign)"},
|
||||
}],
|
||||
['OS=="win" and win_use_allocator_shim==1', {
|
||||
'dependencies': [
|
||||
@ -269,7 +270,7 @@
|
||||
'native/mac/English.lproj/MainMenu.xib',
|
||||
],
|
||||
'conditions': [
|
||||
['CODE_SIGN', {
|
||||
['code_sign', {
|
||||
'defines': [
|
||||
'CODE_SIGNING_ENABLED=1',
|
||||
],
|
||||
|
Loading…
Reference in New Issue
Block a user