These commands are good as of 2011-07-27.
App store http://itunes.apple.com/us/app/xcode/id448457090?mt=12) The download/install takes awhile so start it first. When it finishes downloading you will still need to run it to complete installation.
#! /bin/sh | |
# ================================================================== | |
# ______ __ _____ | |
# /_ __/___ ____ ___ _________ _/ /_ /__ / | |
# / / / __ \/ __ `__ \/ ___/ __ `/ __/ / / | |
# / / / /_/ / / / / / / /__/ /_/ / /_ / / | |
#/_/ \____/_/ /_/ /_/\___/\__,_/\__/ /_/ | |
# Multi-instance Apache Tomcat installation with a focus | |
# on best-practices as defined by Apache, SpringSource, and MuleSoft |
#!/usr/bin/env bash | |
# Formatting constants | |
export BOLD=`tput bold` | |
export UNDERLINE_ON=`tput smul` | |
export UNDERLINE_OFF=`tput rmul` | |
export TEXT_BLACK=`tput setaf 0` | |
export TEXT_RED=`tput setaf 1` | |
export TEXT_GREEN=`tput setaf 2` | |
export TEXT_YELLOW=`tput setaf 3` |
These commands are good as of 2011-07-27.
App store http://itunes.apple.com/us/app/xcode/id448457090?mt=12) The download/install takes awhile so start it first. When it finishes downloading you will still need to run it to complete installation.
apply plugin: 'java' | |
apply plugin: 'groovy' | |
apply plugin: 'eclipse' | |
import org.rubygems.repository.GemResolver; | |
buildscript { | |
repositories { | |
mavenCentral() | |
} |
test.doFirst { | |
[jettyRun, jettyRunWar]*.daemon = true | |
tasks.jettyRun.execute() | |
} | |
test.doLast { | |
tasks.jettyStop.execute() | |
} |
Get Homebrew installed on your mac if you don't already have it
Install highlight. "brew install highlight". (This brings down Lua and Boost as well)
# Only listen on http; disable ajp and https | |
web: java -jar jenkins.war --httpPort=$PORT --ajp13Port=-1 --httpsPort=-1 |
group :production do | |
gem "unicorn" | |
end |
#!/bin/bash | |
# Find the system gradle executable to fall back on. | |
GRADLE=$(which gradle) | |
# Default names for things | |
GRADLEW='gradlew' | |
BUILD_GRADLE='build.gradle' | |
GRADLEW_FOUND=false | |
BUILD_GRADLE_FOUND=false |
buildscript { | |
repositories { | |
mavenCentral() | |
} | |
dependencies { | |
classpath 'org.ajoberstar:gradle-git:0.5.0' // not used in this example, but it's what brings in JGit | |
classpath 'com.jcraft:jsch.agentproxy.jsch:0.0.5' | |
classpath 'com.jcraft:jsch.agentproxy.usocket-jna:0.0.5' | |
classpath 'com.jcraft:jsch.agentproxy.sshagent:0.0.5' | |
} |