Skip to content

Instantly share code, notes, and snippets.

Avatar
🚴‍♂️
Working

BJ Hargrave bjhargrave

🚴‍♂️
Working
View GitHub Profile
@bjhargrave
bjhargrave / bintraymavensync.sh
Created Oct 2, 2017
Bash script to release uploaded Bnd build to maven central
View bintraymavensync.sh
#!/bin/bash
# find -E biz -regex '.*\.pom$' -exec bintraymavensync.sh "{}" ";"
BINTRAY_USER=xxx
BINTRAY_API_KEY=yyy
SONATYPE_USER=ppp
SONATYPE_PWD=qqq
SLUG=bnd/bnd
file=$1
packageprefix=${file%/*/*}
@bjhargrave
bjhargrave / bintrayup.sh
Created Oct 2, 2017
Bash script to upload Bnd build to bintray
View bintrayup.sh
#!/bin/bash
# find -E biz -regex '.*\.(pom|jar)$' -exec bintrayup.sh "{}" ";"
BINTRAY_USER=xxx
BINTRAY_API_KEY=yyy
SLUG=bnd/bnd
file=$1
packageprefix=${file%/*/*}
versionprefix=${file%/*}
package=${packageprefix##*/}
@bjhargrave
bjhargrave / Makefile
Last active Sep 26, 2015
Build git from source for Mac OS X 10.9 + XCode 64-bit. I also built libpcre 8.34 to use with Git.
View Makefile
.PHONY: git git-clean git-install git-install-man git-test git-uninstall
MYGIT_PREFIX=/usr/local/git
MYGIT_BUILD=git
MYGIT_BUILDOPTIONS = NO_DARWIN_PORTS=1 \
CFLAGS="-g -O2 -Wall -arch x86_64" \
LDFLAGS="-arch x86_64" \
NO_GETTEXT=YesPlease \
USE_LIBPCRE=YesPlease \
PERLLIB_EXTRA="/Applications/Xcode.app/Contents/Developer/Library/Perl/5.16/darwin-thread-multi-2level" \