Skip to content

Instantly share code, notes, and snippets.


Block or report user

Report or block derkosak

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
derkosak / m2server.rb
Last active Dec 16, 2015
Very (very) simple maven artifact server written with Buildr and Sinatra
View m2server.rb
require 'rubygems' if RUBY_VERSION < '1.9'
require 'sinatra'
require 'fileutils'
require 'buildr'
# The REPO_DIR variable should point to the same folder
# configured for the local artifact repository used by
# Buildr (a.k.a. the local maven repository).
REPO_DIR = dir=File.expand_path("#{ENV['TEMP']}/repo/")
View proguard.rb
# Usage:
# Add the following at the top of your buildfile,
# require 'proguard.rb'
# And specify your proguard jar in your project,
# package(:proguard).tap do |proguard|
You can’t perform that action at this time.