uber / nanoscope

An extremely accurate Android method tracing tool.
Apache License 2.0
1.25k stars 68 forks source link

Add initial files for Gradle/Kotlin command line application #1

Closed Leland-Takamine closed 6 years ago

Leland-Takamine commented 6 years ago

Add initial files for command line application. The following command builds a release zip that can be installed via Homebrew:

Write release zip to ./build/distributions/nanoscope-0.0.1.zip
$ ./gradlew distZip

The Homebrew formula would look something like this:

class Nanoscope < Formula
  version "0.0.1"
  desc "NanoScope"
  homepage "https://github.com/uber/nanoscope"
  url "https://example.com/nanoscope-0.0.1.zip"
  sha256 "839f05761a98a9aae6154ceb4a3f0c0a2fdcfdc50e8cf9b3a351d1c10f1857b4"

  bottle :unneeded

  def install
    bin.install "bin/nanoscope"
    prefix.install Dir["lib"]
  end
end