Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit ba11bea

Browse files
Revert "Merge pull request #118 from alonsodomin/native"
This reverts commit fd760fc, reversing changes made to 615b70f. Conflicts: build.sbt project/plugins.sbt
1 parent 1f108e5 commit ba11bea

File tree

5 files changed

+4
-62
lines changed

5 files changed

+4
-62
lines changed

‎.travis.yml‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
language: scala
22

3-
dist: trusty
4-
5-
sudo: required
6-
73
addons:
84
apt:
95
packages:
@@ -15,7 +11,6 @@ before_install:
1511
- sed -e "s/^\\(127\\.0\\.0\\.1.*\\)/\1円 $(hostname | cut -c1-63)/" /etc/hosts > /tmp/hosts
1612
- sudo mv /tmp/hosts /etc/hosts
1713
- cat /etc/hosts # optionally check the content *after*
18-
- admin/setup_travis.sh
1914

2015
env:
2116
global:

‎admin/setup_travis.sh‎

Lines changed: 0 additions & 22 deletions
This file was deleted.

‎build.sbt‎

Lines changed: 4 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import ScalaModulePlugin._
2-
import sbtcrossproject.{crossProject, CrossType}
32

43
scalaVersionsByJvm in ThisBuild := {
54
val v211 = "2.11.11"
@@ -15,11 +14,12 @@ scalaVersionsByJvm in ThisBuild := {
1514
}
1615

1716
lazy val root = project.in(file("."))
18-
.aggregate(`scala-parser-combinatorsJS`, `scala-parser-combinatorsJVM`, `scala-parser-combinatorsNative`)
17+
.aggregate(`scala-parser-combinatorsJS`, `scala-parser-combinatorsJVM`)
1918
.settings(disablePublishing)
2019

21-
lazy val `scala-parser-combinators` = crossProject(JSPlatform, JVMPlatform, NativePlatform).in(file(".")).
20+
lazy val `scala-parser-combinators` = crossProject.in(file(".")).
2221
settings(scalaModuleSettings: _*).
22+
jvmSettings(scalaModuleSettingsJVM).
2323
settings(
2424
name := "scala-parser-combinators",
2525
version := "1.0.7-SNAPSHOT",
@@ -40,10 +40,7 @@ lazy val `scala-parser-combinators` = crossProject(JSPlatform, JVMPlatform, Nati
4040
version.value
4141
)
4242
).
43-
jvmSettings(scalaModuleSettingsJVM).
4443
jvmSettings(
45-
// Mima uses the name of the jvm project in the artifactId
46-
// when resolving previous versions (so no "-jvm" project)
4744
OsgiKeys.exportPackage := Seq(s"scala.util.parsing.*;version=${version.value}"),
4845
libraryDependencies += "junit" % "junit" % "4.12" % "test",
4946
libraryDependencies += "com.novocode" % "junit-interface" % "0.11" % "test"
@@ -52,18 +49,7 @@ lazy val `scala-parser-combinators` = crossProject(JSPlatform, JVMPlatform, Nati
5249
// Scala.js cannot run forked tests
5350
fork in Test := false
5451
).
55-
jsConfigure(_.enablePlugins(ScalaJSJUnitPlugin)).
56-
nativeSettings(
57-
scalaVersion := "2.11.11",
58-
skip in compile := System.getProperty("java.version").startsWith("1.6"),
59-
test := {},
60-
libraryDependencies := {
61-
if (!scalaVersion.value.startsWith("2.11"))
62-
libraryDependencies.value.filterNot(_.organization == "org.scala-native")
63-
else libraryDependencies.value
64-
}
65-
)
52+
jsConfigure(_.enablePlugins(ScalaJSJUnitPlugin))
6653

6754
lazy val `scala-parser-combinatorsJVM` = `scala-parser-combinators`.jvm
6855
lazy val `scala-parser-combinatorsJS` = `scala-parser-combinators`.js
69-
lazy val `scala-parser-combinatorsNative` = `scala-parser-combinators`.native

‎native/src/main/scala/scala/util/parsing/input/PositionCache.scala‎

Lines changed: 0 additions & 14 deletions
This file was deleted.

‎project/plugins.sbt‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
11
addSbtPlugin("org.scala-lang.modules" % "sbt-scala-module" % "1.0.12")
22

33
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "0.6.21")
4-
addSbtPlugin("org.scala-native" % "sbt-crossproject" % "0.2.2")
5-
addSbtPlugin("org.scala-native" % "sbt-scalajs-crossproject" % "0.2.2")
6-
addSbtPlugin("org.scala-native" % "sbt-scala-native" % "0.3.3")

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /