1
- #if UNITY_EDITOR
1
+ /**
2
+ * Copyright 2015 IBM Corp. All Rights Reserved.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ *
16
+ */
17
+
18
+ #if UNITY_EDITOR
2
19
using UnityEditor ;
3
20
using UnityEngine ;
4
21
5
22
public static class RunTravisBuild
6
23
{
7
- public static string [ ] BuildScenes = {
8
- "Assets/Watson/Scenes/UnitTests/Main.unity" ,
9
- "Assets/Watson/Scenes/UnitTests/TestMic.unity" ,
10
- "Assets/Watson/Scenes/UnitTests/TestNaturalLanguageClassifier.unity" ,
11
- "Assets/Watson/Scenes/UnitTests/TestSpeechToText.unity" ,
12
- "Assets/Watson/Scenes/UnitTests/TestTextToSpeech.unity" ,
13
- "Assets/Watson/Scenes/UnitTests/UnitTests.unity" ,
14
- "Assets/Watson/Examples/WidgetExamples/ExampleDialog.unity" ,
15
- "Assets/Watson/Examples/WidgetExamples/ExampleLanguageTranslator.unity"
16
- } ;
24
+ public static string [ ] BuildScenes = {
25
+ "Assets/Watson/Scenes/UnitTests/Main.unity" ,
26
+ "Assets/Watson/Scenes/UnitTests/TestMic.unity" ,
27
+ "Assets/Watson/Scenes/UnitTests/TestNaturalLanguageClassifier.unity" ,
28
+ "Assets/Watson/Scenes/UnitTests/TestSpeechToText.unity" ,
29
+ "Assets/Watson/Scenes/UnitTests/TestTextToSpeech.unity" ,
30
+ "Assets/Watson/Scenes/UnitTests/UnitTests.unity" ,
31
+ "Assets/Watson/Examples/WidgetExamples/ExampleDialog.unity" ,
32
+ "Assets/Watson/Examples/WidgetExamples/ExampleLanguageTranslator.unity"
33
+ } ;
17
34
18
- static public void OSX ( )
19
- {
20
- BuildPipeline . BuildPlayer ( BuildScenes , Application . dataPath + "TestBuildOSX" , BuildTarget . StandaloneOSXIntel64 , BuildOptions . None ) ;
21
- }
35
+ static public void OSX ( )
36
+ {
37
+ BuildPipeline . BuildPlayer ( BuildScenes , Application . dataPath + "TestBuildOSX" , BuildTarget . StandaloneOSXIntel64 , BuildOptions . None ) ;
38
+ }
22
39
23
- static public void Windows ( )
24
- {
25
- BuildPipeline . BuildPlayer ( BuildScenes , Application . dataPath + "TestBuildWindows" , BuildTarget . StandaloneWindows64 , BuildOptions . None ) ;
26
- }
40
+ static public void Windows ( )
41
+ {
42
+ BuildPipeline . BuildPlayer ( BuildScenes , Application . dataPath + "TestBuildWindows" , BuildTarget . StandaloneWindows64 , BuildOptions . None ) ;
43
+ }
27
44
28
- static public void Linux ( )
29
- {
30
- BuildPipeline . BuildPlayer ( BuildScenes , Application . dataPath + "TestBuildLinux" , BuildTarget . StandaloneLinux64 , BuildOptions . None ) ;
31
- }
45
+ static public void Linux ( )
46
+ {
47
+ BuildPipeline . BuildPlayer ( BuildScenes , Application . dataPath + "TestBuildLinux" , BuildTarget . StandaloneLinux64 , BuildOptions . None ) ;
48
+ }
32
49
}
33
50
#endif
0 commit comments