Skip to content

Instantly share code, notes, and snippets.

View guillaumebadin's full-sized avatar
🎯
Focusing

Guillaume BADIN guillaumebadin

🎯
Focusing
View GitHub Profile
sk_synchro() {
CURRENT_BRANCH=`git branch | sed -n '/\* /s///p'`
git checkout master
git pull
git checkout develop
git pull
git checkout $CURRENT_BRANCH
}
@guillaumebadin
guillaumebadin / Build.scala(mainproject)
Last active October 27, 2015 14:56
Build multiproject
import play.PlayImport.PlayKeys._
import play.PlayImport._
import play.PlayScala
import sbt.Keys._
import sbt._
object ApplicationBuild extends Build {
val branch = "git rev-parse --abbrev-ref HEAD".!!.trim
@guillaumebadin
guillaumebadin / install_sbt.sh
Last active August 29, 2015 14:11
install_sbt
#!/bin/sh
# one way (older scala version will be installed)
sudo apt-get install scala
# sbt installation
# remove sbt:>
sudo apt-get purge sbt.