Giter VIP home page Giter VIP logo

sbt.g8's Introduction

giter8 template for projects using GitHub

Build Status

Template features

  • Integration with your GitHub repo and account.
  • Release section in generated build.sbt complies with Sonatype policies for Maven Central Syncing.
  • sbt-assembly plugin integrated, for the creation of a single executable jar of your project.
  • Informative README.md automatically generated.
  • Reasonable scalac and javac options chosen.
  • Optional settings provided commented out in generated build.sbt.
  • Cross-compilation for all Scala versions 2.8.0 and higher.

Use this template

$ g8 ymasory/sbt
$ cd <name-of-app>
$ chmod u+x sbt
$ ./sbt
> +run

Modify this template

  • Install sbt, version 0.12.0 or higher.
  • Fork ymasory/sbt.g8 on GitHub to your account. Let's assume your account is "foo".
  • Clone it.
$ git clone [email protected]:foo/sbt.g8.git
  • Now make your desired changes.
  • Do a local deploy of your modified template and try it out.
$ cd sbt.g8
$ rm -rf target
$ sbt
> g8-test # must result in SUCCESS
> exit
$ cd target/sbt-test/default-*/scripted
$ java -jar target/*-assembly-*.jar # must print "hello sbt.g8"
  • If you like your new template, push it to GitHub.
$ cd sbt.g8
$ git push
  • You can now access your modified template using g8.
$ cd
$ g8 foo/sbt
  • If you'd like to share your changes, send a pull request.

sbt.g8's People

Contributors

ymasory avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

sbt.g8's Issues

Error on windows 7

I am getting the following error on windows 7

Command:
g8 https://github.com/ymasory/sbt.g8.git

Error:
Exception in thread "Thread-2" Path(C:\Users\dipakc\AppData\Local\Temp\K867753330764907731082.tmp.git\objects\pack\pack-6ee81ee37890f2ead25af1b5fa35899b7cef30d2.pack) is not a directory so descendants can not be called on itis not a directory

However the files are generated.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.