File tree Expand file tree Collapse file tree 2 files changed +23
-2
lines changed Expand file tree Collapse file tree 2 files changed +23
-2
lines changed Original file line number Diff line number Diff line change
1
+ version : ' {build}'
2
+ image : Visual Studio 2015
3
+ environment :
4
+ global :
5
+ NODEJS_VERSION : " 8"
6
+ JAVA_HOME : C:\Program Files\Java\jdk1.8.0
7
+ SCALA_VERSION : 2.12.4
8
+ install :
9
+ - ps : Install-Product node $env:NODEJS_VERSION
10
+ - npm install
11
+ - cmd : choco install sbt --version 1.0.2 -ia "INSTALLDIR=""C:\sbt"""
12
+ - cmd : SET PATH=C:\sbt\bin;%JAVA_HOME%\bin;%PATH%
13
+ - cmd : SET SBT_OPTS=-Xmx4g
14
+ build : off
15
+ test_script :
16
+ # Very far from testing everything, but at least it is a good sanity check
17
+ - cmd : sbt ";clean;++%SCALA_VERSION%;testSuite/test"
18
+ cache :
19
+ - C:\sbt
20
+ - C:\Users\appveyor\.ivy2\cache
21
+ - C:\Users\appveyor\.sbt
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ object ScalaJSEnvGenerator {
20
20
if (! ScalaJSVersions .currentIsSnapshot)
21
21
s " https://raw.githubusercontent.com/scala-js/scala-js/v ${ScalaJSVersions .current}/ $relPath"
22
22
else
23
- env.getAbsolutePath
23
+ env.getAbsoluteFile.toURI.toASCIIString
24
24
}
25
25
26
26
if (! trg.exists() || trg.lastModified() < env.lastModified()) {
@@ -34,7 +34,7 @@ object ScalaJSEnvGenerator {
34
34
35
35
private[emitter] object ScalaJSEnvHolder {
36
36
final val scalajsenv = raw\"\"\" $scalajsenv\"\"\"
37
- final val sourceMapPath = new URI(" $sourceMapPath")
37
+ final val sourceMapPath = new URI(raw\"\"\" $sourceMapPath\"\"\ ")
38
38
}
39
39
"""
40
40
You can’t perform that action at this time.
0 commit comments