Created
July 13, 2015 11:14
-
-
Save oreillyross/f1e2dc36f273e7d91049 to your computer and use it in GitHub Desktop.
SBT uses the same directory structure as Maven, and for simple needs, you can generate
a compatible structure using a shell script. For example, the following Unix shell script
creates the initial set of files and directories you’ll want for most projects
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
mkdir -p src/{main,test}/{java,resources,scala} | |
mkdir lib project target | |
# create an initial build.sbt file | |
echo 'name := "MyProject" | |
version := "1.0" | |
scalaVersion := "2.10.0"' > build.sbt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment