seperate languages form config keys
This commit is contained in:
parent
c8fad34c54
commit
839511f6bd
|
@ -5,6 +5,7 @@
|
|||
`import Model from 'travis/models/model'`
|
||||
`import Log from 'travis/models/log'`
|
||||
`import DurationCalculations from 'travis/utils/duration-calculations'`
|
||||
`import languageConfigKeys from 'travis/utils/keys-map';`
|
||||
|
||||
Job = Model.extend DurationCalculations,
|
||||
logId: DS.attr()
|
||||
|
|
|
@ -1,21 +1,11 @@
|
|||
configKeysMap = {
|
||||
languageConfigKeys = {
|
||||
go: 'Go'
|
||||
rvm: 'Ruby'
|
||||
gemfile: 'Gemfile'
|
||||
env: 'ENV'
|
||||
jdk: 'JDK'
|
||||
otp_release: 'OTP Release'
|
||||
php: 'PHP'
|
||||
node_js: 'Node.js'
|
||||
perl: 'Perl'
|
||||
python: 'Python'
|
||||
scala: 'Scala'
|
||||
compiler: 'Compiler'
|
||||
ghc: 'GHC'
|
||||
os: 'OS'
|
||||
ruby: 'Ruby'
|
||||
xcode_sdk: 'Xcode SDK'
|
||||
xcode_scheme:'Xcode Scheme'
|
||||
d: 'D'
|
||||
julia: 'Julia'
|
||||
csharp: 'C#'
|
||||
|
@ -24,4 +14,20 @@ configKeysMap = {
|
|||
elixir: 'Elixir'
|
||||
}
|
||||
|
||||
configKeys = {
|
||||
env: 'ENV'
|
||||
rvm: 'Ruby'
|
||||
gemfile: 'Gemfile'
|
||||
jdk: 'JDK'
|
||||
otp_release: 'OTP Release'
|
||||
xcode_sdk: 'Xcode SDK'
|
||||
xcode_scheme:'Xcode Scheme'
|
||||
compiler: 'Compiler'
|
||||
ghc: 'GHC'
|
||||
os: 'OS'
|
||||
}
|
||||
|
||||
configKeysMap = Ember.merge configKeys, languageConfigKeys
|
||||
|
||||
`export default configKeysMap`
|
||||
`export { languageConfigKeys, configKeys }`
|
||||
|
|
Loading…
Reference in New Issue
Block a user