From 233a19170e589bf552334754fea66ebb54e326b6 Mon Sep 17 00:00:00 2001 From: Jason Felice Date: Mon, 20 Feb 2012 10:30:48 -0500 Subject: [PATCH 1/2] Ignore build/ --- .gitignore | 1 + 1 file changed, 1 insertion(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..378eac2 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +build From 49c1299c69bac79352904af178f3315cb85cea7a Mon Sep 17 00:00:00 2001 From: Jason Felice Date: Mon, 20 Feb 2012 13:39:29 -0500 Subject: [PATCH 2/2] Add README --- README.md | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..eef58e0 --- /dev/null +++ b/README.md @@ -0,0 +1,38 @@ +WaxSim +------ + +WaxSim is a command-line tool which launches an iOS simulator-targeted +application in the iOS simulator. + +Installation +------------ + +You should be able to simply run `xcodebuild` from a clone of this repository +to build and install the `waxsim` binary into `~/bin/`. The `~/bin/` directory +should exist first. + +Usage +----- + +Listing the install SDKs: + + waxsim -a + +Running a program: + + waxsim -s + + +Output +------ + +WaxSim tries to redirect the app's console output to STDOUT; however, the +mechanism provided only works for files which have names. This unfortunately +excludes normal (anoynymous) UNIX pipes. So this does not work: + + waxsim -s 4.3 foo/bar.app |grep Hello + +But you can do this: + + waxsim -s 4.3 foo/bar.app >/tmp/output.txt && grep Hello /tmp/output.txt +