Skip to content

Instantly share code, notes, and snippets.

View iahuang's full-sized avatar

Ian Huang iahuang

View GitHub Profile
@iahuang
iahuang / build.py
Created November 3, 2018 21:00
A simple Python script to run Swift projects
import glob
import argparse
import subprocess
import re
from termcolor import colored
parser = argparse.ArgumentParser(
description='A utility for building Swift projects outside of XCode')
parser.add_argument('-r', default="main.swift",
help="The main project file (usually main.swift)")