Browse Source

package/homebrew: extract the SHA1 from the version instead of duplicating.

Co-authored-by: Dora "cat" <cat@thenight.club>
next
Vladimír Vondruš 4 months ago
parent
commit
67cad39cb8
  1. 2
      package/homebrew/magnum-bindings.rb

2
package/homebrew/magnum-bindings.rb

@ -4,7 +4,7 @@ class MagnumBindings < Formula
# git describe origin/master, except the `v` prefix
version "2020.06-421-g439945c"
# Clone instead of getting an archive to have tags for version.h generation
url "https://github.com/mosra/magnum-bindings.git", revision: "439945c"
url "https://github.com/mosra/magnum-bindings.git", revision: version.to_str().rpartition('g')[2]
head "https://github.com/mosra/magnum-bindings.git"
depends_on "cmake" => :build

Loading…
Cancel
Save