Skip to content

Commit

Permalink
Add a simple makefile to hide ant and SDK nastiness
Browse files Browse the repository at this point in the history
make run only works with devices right now
  • Loading branch information
gerard committed Mar 30, 2011
1 parent 3896421 commit 2b24675
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
/bin
/gen
/libs
build.xml
local.properties
17 changes: 17 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
all: debug
run: run-debug

run-debug: debug
adb shell am start -a android.intent.action.MAIN -n org.androidaalto.soundfused/.BoardActivity

debug: build.xml
ant debug

release: build.xml
ant release

build.xml:
android update project -n `basename $$PWD` -p .

clean:
git clean -Xdf

0 comments on commit 2b24675

Please sign in to comment.