Skip to content

Commit

Permalink
added build script
Browse files Browse the repository at this point in the history
updated default apk path
  • Loading branch information
Sascha Roth committed Jun 7, 2020
1 parent 8b1f644 commit 4e38df3
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
21 changes: 21 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,27 @@ allprojects {
}
}

task buildPackage {

}

task createCliPackage(type: Zip) {
from ('cli/src/') {
into ('/bin')
}
from ('cli/test/') {
into ('/examples/')
}
from fileTree ('app/build/outputs/apk/') {
into ('/apps')
}
from('README.md') {
into ('/docs/')
}
destinationDir(file("${rootDir}/"))
archiveName 'release.zip'
}

task clean(type: Delete) {
delete rootProject.buildDir
}
2 changes: 1 addition & 1 deletion cli/src/binderfuzzy.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def checkScript(script_path):
def main():
print("Launching BinderFuzzy version: 1.0")
parser = argparse.ArgumentParser(description='Process paths.')
parser.add_argument('--fuzzy-apk', nargs='?', default='data/binderfuzzy-release.apk',
parser.add_argument('--fuzzy-apk', nargs='?', default='../apps/release/app-release.apk',
dest='apk_path',
help='path to binderfuzzy-release.apk')
parser.add_argument('--script', nargs='?', dest='script_path',
Expand Down

0 comments on commit 4e38df3

Please sign in to comment.