-
-
Notifications
You must be signed in to change notification settings - Fork 12.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
imgur-album-downloader (new formula) #936
Changes from 2 commits
2ad7203
de561ce
048d7d8
092d9b0
0ed1ce9
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
class ImgurAlbumDownloader < Formula | ||
desc "Command Line Utility to Download Imgur Albums" | ||
homepage "https://github.com/sgsunder/imgur-album-downloader" | ||
url "https://github.com/alexgisby/imgur-album-downloader.git", :revision => "dbaee1e342c1b46c022fccd26c294e251ac04015" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We need a tagged release here. |
||
version "1" | ||
|
||
bottle :unneeded | ||
|
||
depends_on "python3" | ||
|
||
def install | ||
mv "imguralbum.py", "imgur-album-downloader" # Rename Command Line Script | ||
bin.install "imgur-album-downloader" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You can use |
||
end | ||
|
||
test do | ||
system "#{bin}/imgur-album-downloader" # This should print the help message and return with exit code 0 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can’t we do something more substantial that just printing the help? E.g. download a small album? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I wonder if one of the preexisting test fixtures could be uploaded and then re-downloaded here |
||
end | ||
end |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This gives a 404; should probably be
https://github.com/alexgisby/imgur-album-downloader
instead.