Skip to content

Commit

Permalink
Use head blocks instead of devel blocks
Browse files Browse the repository at this point in the history
Because devel blocks has been deprecated since Homebrew 2.4.0.
Please see Homebrew/brew#7688 for details.

Fix #2
  • Loading branch information
Gasol committed Sep 24, 2020
1 parent 8f7f718 commit be9eb8e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions aglio.rb
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
require "language/node"

class Aglio < Formula
require "language/node"

desc "API Blueprint renderer"
homepage "https://github.com/danielgtaylor/aglio/"
license "MIT"

depends_on "node"

devel do
head do
url "https://github.com/Gasol/aglio/archive/333da5.tar.gz"
version "333da5"
sha256 "7952eccf8ee89a2a05e6a89160d855f377777132a5637782db369b84e4a35d64"

end

depends_on "node"

def install
system "npm", "install", *Language::Node.local_npm_install_args
system "npm", "run-script", "prepare"
Expand Down

0 comments on commit be9eb8e

Please sign in to comment.