This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>foo</groupId> | |
<artifactId>bar</artifactId> | |
<version>1.0-SNAPSHOT</version> | |
<dependencies> | |
<dependency> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Auto generate the changelog from git | |
# Leif Gruenwoldt | |
CHANGELOG="ChangeLog" | |
tags=`git tag | sort -r`" TAIL" | |
CURRENT="HEAD" | |
rm -f $CHANGELOG |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Automatically adds all nuget packages to project file | |
NUGET_REPOSITORY_PATH = packages | |
NUGET_PACKAGES = $$system(dir $${NUGET_REPOSITORY_PATH} /B) | |
for (NUGET_PACKAGE, NUGET_PACKAGES) { | |
INCLUDEPATH += $$PWD/$${NUGET_REPOSITORY_PATH}/$${NUGET_PACKAGE}/build/native/include | |
CONFIG(debug, debug | release) { | |
LIBS += $$PWD/$${NUGET_REPOSITORY_PATH}/$${NUGET_PACKAGE}/build/native/lib/x64/v120/Debug/*.lib | |
} else { | |
LIBS += $$PWD/$${NUGET_REPOSITORY_PATH}/$${NUGET_PACKAGE}/build/native/lib/x64/v120/Release/*.lib |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Setup the environment | |
BASE_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" | |
OUTPUT_DIR="$BASE_DIR/output" | |
command -v ruby >/dev/null && RUBY_Installed=true || RUBY_Installed=false | |
if [ -z "$BUILD_NUMBER" ] ; then BUILD_NUMBER=0 ; fi | |
# Comment out the toolchains you don't wish to use. | |
TOOLCHAINS=$TOOLCHAINS" asciidoctorDocx" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[user] | |
email = [email protected] | |
name = Leif Gruenwoldt | |
[gui] | |
gcwarning = false | |
maxfilesdisplayed = 1000 | |
[color] | |
ui = auto | |
[diff] | |
tool=meld |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set sw=4 | |
set ts=4 | |
set expandtab | |
filetype plugin indent on | |
" Source vimrc from git project root | |
" https://gist.github.com/leif81/4617337 | |
let project_root = system("git rev-parse --show-toplevel") | |
let chomped_project_root = project_root[:-2] | |
let project_vimrc = chomped_project_root."/.vimrc" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Source a vimrc from git project root | |
let project_root = system("git rev-parse --show-toplevel") | |
" System commands seem to have a trailing newline, so lets get rid of that | |
let chomped_project_root = project_root[:-2] | |
let project_vimrc = chomped_project_root."/.vimrc" | |
if filereadable(project_vimrc) | |
execute "source" project_vimrc | |
endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh -x | |
git checkout master | |
git merge - | |
git push origin master | |
git checkout - |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh -x | |
git checkout master | |
git pull origin master | |
git checkout - | |
git rebase master |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<target name="debug" depends="build"> | |
<property name="cp" refid="project.classpath"/> | |
<exec executable="jswat"> | |
<arg value="-J-Djswat.classpath=${cp}"/> | |
<arg value="-J-Djswat.sourcepath='${src.dir}'"/> | |
<arg value="-J-Djswat.launch=${main-class}"/> | |
<arg line="-J-Djswat.jvmopts='${cmd.line.arg.config} ${cmd.line.arg.logging}'"/> | |
</exec> |
NewerOlder