Skip to content

Commit

Permalink
dropbox-uploader 0.16 (new formula)
Browse files Browse the repository at this point in the history
dropbox_uploader is a bash script for interacting with Dropbox

Closes Homebrew#49703.

Signed-off-by: Dominyk Tiller <[email protected]>
  • Loading branch information
Andrew Titmuss authored and DomT4 committed Mar 3, 2016
1 parent 16362e9 commit 247eb83
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions Library/Formula/dropbox-uploader.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
class DropboxUploader < Formula
desc "Bash script for interacting with Dropbox"
homepage "http://www.andreafabrizi.it/?dropbox_uploader"
url "https://github.com/andreafabrizi/Dropbox-Uploader/archive/0.16.tar.gz"
sha256 "738aebdb57f75e9033cb9bb319b14fe1c3b471f951180acb48631e9810ebf1c3"

def install
bin.install "dropbox_uploader.sh"
end

test do
(testpath/".dropbox_uploader").write <<-EOS.undent
APPKEY=a
APPSECRET=b
ACCESS_LEVEL=sandbox
OAUTH_ACCESS_TOKEN=c
OAUTH_ACCESS_TOKEN_SECRET=d
EOS
pipe_output("#{bin}/dropbox_uploader.sh unlink", "y\n")
end
end

0 comments on commit 247eb83

Please sign in to comment.