Skip to content

Instantly share code, notes, and snippets.

View ilaborie's full-sized avatar
🐙
Hacking

igor ilaborie

🐙
Hacking
View GitHub Profile
@ilaborie
ilaborie / build.sbt
Created August 25, 2013 20:56
A Basic SBT project with ScalaTest and Scalastyle
name := "Imaging"
version := "1.0"
scalaVersion := "2.10.2"
libraryDependencies += "org.scalatest" %% "scalatest" % "1.9.1" % "test"
// Scalastyle
org.scalastyle.sbt.ScalastylePlugin.Settings
@ilaborie
ilaborie / post-commit
Created July 23, 2013 15:08
Git post-commit hook for: auto-push to jenkins + auto backup
#!/bin/sh
# Backup
git ls-remote backup --quiet
if test $? = 0;
then
git push backup --force --all --quiet
echo "...Backuped"
else
echo "No Backup repository => Skip backup"