File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 11import  ScalaModulePlugin ._ 
2+ import  sbtcrossproject .crossProject 
23
34scalaVersionsByJvm in ThisBuild  :=  {
45  val  v211  =  " 2.11.12" 
@@ -17,7 +18,7 @@ lazy val root = project.in(file("."))
1718  .aggregate(`scala-parser-combinatorsJS`, `scala-parser-combinatorsJVM`)
1819  .settings(disablePublishing)
1920
20- lazy  val  `scala-parser-combinators`  =  crossProject.in(file(" ."  )).
21+ lazy  val  `scala-parser-combinators`  =  crossProject( JSPlatform ,  JVMPlatform ) .in(file(" ."  )).
2122  settings(scalaModuleSettings : _* ).
2223  jvmSettings(scalaModuleSettingsJVM).
2324  settings(
Original file line number Diff line number Diff line change 11addSbtPlugin(" org.scala-lang.modules"   %  " sbt-scala-module"   %  " 1.0.14"  )
22
33addSbtPlugin(" org.scala-js"   %  " sbt-scalajs"   %  " 0.6.23"  )
4+ 
5+ addSbtPlugin(" org.portable-scala"   %  " sbt-scalajs-crossproject"   %  " 0.4.0"  )
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments