Skip to content

Instantly share code, notes, and snippets.

View madhikarma's full-sized avatar

Shagun Madhikarmi madhikarma

View GitHub Profile
@madhikarma
madhikarma / build_framework.sh
Created October 13, 2015 12:26
Script to build a framework for multiple architectures
# Merge Script
# http://code.hootsuite.com/an-introduction-to-creating-and-distributing-embedded-frameworks-in-ios/
# 1
# Set bash script to exit immediately if any commands fail.
set -e
# 2
# Setup some constants for use later on.
@madhikarma
madhikarma / hockey_build_script.sh
Last active August 29, 2015 14:27
Hockey Build Script
#!/bin/sh
set -eo pipefail
IFS=$'\n\t'
NOW=$(date +%s)
RELEASE_NOTES=""
BUILD_FILE_NAME="Project-${NOW}" # put file name here
API_TOKEN="TODO" # put API token here
PROVISIONING_PROFILE_IDENTITY="Some Distribution Profile"
@madhikarma
madhikarma / Git cheatsheet
Last active April 28, 2016 08:17
Git cheatsheet
#### Clone
git clone <some_repo_url>
#### Branch
git branch <branch_name>
#### Checkout
git checkout <branch_name>
#### Commit