This file contains hidden or 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
from fabric.api import cd, env, execute, local, run, open_shell | |
env.hosts = [] | |
env.development_path = '' # remote path to deploy to, and build from | |
env.packages = [] # list of packages to install, such as libmysqlclient-dev | |
def packages(): | |
if len(env.packages): | |
run('sudo apt-get install '+' '.join(env.packages)) |
This file contains hidden or 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
#import <Foundation/Foundation.h> | |
int main(int argc, const char * argv[]) | |
{ | |
NSRunLoop *runLoop; | |
CLIMain *main; // replace with desired class with properties BOOL shouldExist and int exitCode | |
@autoreleasepool | |
{ | |
runLoop = [NSRunLoop currentRunLoop]; |