Skip to content

Instantly share code, notes, and snippets.

@billryan
Created August 5, 2015 02:25
Show Gist options
  • Save billryan/994aafd49802ece16ce2 to your computer and use it in GitHub Desktop.
Save billryan/994aafd49802ece16ce2 to your computer and use it in GitHub Desktop.
joint compilation of Scala and Java
#!/bin/sh
mkdir -p src/{main,test}/{java,resources,scala}
mkdir lib project target
touch project/Build.scala
# create an initial build.sbt file
cat <<EOF > build.sbt
name := "sbtProject"
version := "1.0"
scalaVersion := "2.10.5"
EOF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment