Skip to content

JohnMurray/basic-scala-template

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
sbt
 
 
 
 

Basic Scala Template

This is a template to help you get started writing Scala code quickly. This was introduced on my blog-post here. You can read that to understand what was added to this and why.

Getting Started

First you'll need to setup the project locally. I like to do the following:

git clone git://github.com/JohnMurray/basic-scala-template.git $HOME/.basic-scala-template
echo 'alias scala-new="$HOME/.basic-scala-template/scala-new"' >>~/.bashrc

Of course you can put it wherever you'd like and source the scala-new script however you'd like. This is just how I tend to set things up on my machines. From here you're good to create your first template:

scala-new my-new-project
cd my-new-project/

./sbt
# have fun!

That's all there is to it.

Contributing

If you think there is something that I am sorely missing from this project or if you have an improvement that you'd like to make, please feel free to open an issue or make a pull request. I'd love to pull in improvements if it makes peoples lives easier when creating new Scala projects.

List of Contributors

About

A baseline template for scala projects of any type

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published