Skip to content

Commit

Permalink
add require, add naive post-install test
Browse files Browse the repository at this point in the history
  • Loading branch information
defeated committed Jul 5, 2015
1 parent 2508eb8 commit f28097d
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions formula.rb
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
require "formula"

class Touchp < Formula
desc "basically `mkdir -p` + `touch`, written in Go"
homepage "https://github.com/defeated/touchp/"
url "https://github.com/defeated/touchp/releases/download/0.0.1/touchp-0.1.1-darwin-amd64.zip"
homepage "https://github.com/defeated/touchp/"
desc "basically `mkdir -p` + `touch`, written in Go"
sha256 "f0275b34d87c624541dd04824815290666bc6de5055632d32d4d154507e27ed0"

def install
bin.install "touchp"
end

test do
system "touchp"
end
end

0 comments on commit f28097d

Please sign in to comment.