GithubHelp home page GithubHelp logo

ipereziriarte / scala_course Goto Github PK

View Code? Open in Web Editor NEW

This project forked from codelytv/scala-basic-skeleton

0.0 1.0 0.0 1.58 MB

Scala pragmatic unicorn course ๐Ÿฆ„

Home Page: www.letgo.com

License: MIT License

Scala 100.00%

scala_course's Introduction

Scala Bootstrap (base / project skeleton)

Software License Build Status

Introduction

This is a repository intended to serve as a starting point if you want to bootstrap a project in Scala.

It could be useful if you want to start from scratch a kata or a little exercise or project. The idea is that you don't have to worry about the boilerplate, just clone this repo and there you go:

How To Start

  1. Clone this repository git clone https://github.com/CodelyTV/scala_bootstrap.
  2. Run SBT on the project directory sbt.
  3. Run the scalatests with t.
  4. Check the scalastyle in the production code with s and use the ts command to check the test code style.
  5. Check the scalaFmt with tf command to check the code style and apply guidelines with f.
  6. Start your project!

Pre-push Git hook

There's one Git hook included. It's inside the doc/hooks folder and it will run the prep SBT task before pushing to any remote.

This prep task is intended to run all the checks you consider before pushing. At this very moment, it try to compile and check the code style rules with ScalaStyle and ScalaFmt.

You can define what this task does just modifying the prep task in the build.sbt file. We like the approach of just running 1 single SBT task as the hook instead of multiple tasks because it's more efficient (the hook doesn't has to run SBT multiple times), and also because this way we can control the pre push tasks just with the SBT alias defined at the build.sbt without altering the hooks.

If you want to install this hook, just cd doc/hooks and run ./install-hooks.sh.

Other programming languages

About

This hopefully helpful utility has been developed by CodelyTV and contributors.

We'll try to maintain this project as simple as possible, but Pull Requests are welcomed!

License

The MIT License (MIT). Please see License File for more information.

scala_course's People

Contributors

javiercane avatar jorgeavilacardenosa avatar gmadorell avatar sergigpletgo avatar

Watchers

James Cloos avatar

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.