Skip to content

Commit

Permalink
Homebrew file
Browse files Browse the repository at this point in the history
  • Loading branch information
eliasjpr authored Jun 7, 2017
1 parent 4ee5c5b commit e9c0813
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions amber_cmd.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
class AmberCmd < Formula
desc "Amber CLI client for generating, scaffolding Amber web apps."
homepage "https://www.ambercr.io"
url "https://github.com/Amber-Crystal/amber_cmd/archive/v0.1.13.tar.gz"
sha256 "2b56718bf1623dc03d25183544d9ecf2f980ac60407e6c7320d83bcb4102b99c"

depends_on "crystal-lang"
depends_on "openssl"

def install
cd buildpath do
system "shards", "install"
system "crystal", "build", "-o", "amber", "src/amber_cmd.cr"
bin.install "amber"
end
end

test do
system "#{bin}/amber", "--version"
end
end

0 comments on commit e9c0813

Please sign in to comment.