Skip to content

Commit b114cd4

Browse files
committed
fix lint issues
Signed-off-by: Avi Deitcher <avi@deitcher.net>
1 parent 6ed193a commit b114cd4

File tree

1 file changed

+7
-11
lines changed

1 file changed

+7
-11
lines changed

Formula/mysql-backup.rb

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
1-
# Documentation: https://docs.brew.sh/Formula-Cookbook
2-
# https://docs.brew.sh/rubydoc/Formula
3-
# PLEASE REMOVE ALL GENERATED COMMENTS BEFORE SUBMITTING YOUR PULL REQUEST!
41
class MysqlBackup < Formula
5-
desc "automated backups of mysql databases"
2+
desc "Automated backups of mysql databases"
63
homepage "https://github.com/databacker/mysql-backup"
74
license "MIT"
85

6+
# HEAD: build from source
7+
head do
8+
url "https://github.com/databacker/mysql-backup.git", branch: "master"
9+
depends_on "go" => :build
10+
end
11+
912
# Default: use pre-built binary
1013
on_macos do
1114
on_arm do
@@ -28,13 +31,6 @@ class MysqlBackup < Formula
2831
end
2932
end
3033

31-
32-
# HEAD: build from source
33-
head do
34-
url "https://github.com/databacker/mysql-backup.git", branch: "master"
35-
depends_on "go" => :build
36-
end
37-
3834
def install
3935
if build.head?
4036
# Build from source for HEAD

0 commit comments

Comments
 (0)