aoc-old/build.sbt
2018-11-24 16:14:47 -08:00

20 lines
550 B
Scala

import sbtcrossproject.CrossPlugin.autoImport.{crossProject, CrossType}
val sharedSettings = Seq(
name := "aoc",
organization := "tf.bug",
version := "0.1.0",
scalaVersion := "2.11.12",
libraryDependencies ++= List(
"com.lihaoyi" %%% "fastparse" % "2.0.4",
),
mainClass := Some("tf.bug.aoc.Main"),
)
lazy val aoc = crossProject(JSPlatform, JVMPlatform /* , NativePlatform */)
.crossType(CrossType.Pure)
.settings(sharedSettings)
lazy val aocJS = aoc.js
lazy val aocJVM = aoc.jvm
// lazy val aocNative = aoc.native