diff --git a/Formula/asimov.rb b/Formula/asimov.rb deleted file mode 100644 index 8894caa..0000000 --- a/Formula/asimov.rb +++ /dev/null @@ -1,53 +0,0 @@ -class Asimov < Formula - desc "Automatically exclude development dependencies from Time Machine backups" - homepage "https://github.com/stevegrunwell/asimov" - url "https://github.com/stevegrunwell/asimov/archive/v0.2.0.tar.gz" - sha256 "2efb456975af066a17f928787062522de06c14eb322b2d133a8bc3a764cc5376" - revision 0 - - # Setup HEAD support (install with --HEAD) - head "https://github.com/stevegrunwell/asimov.git", :branch => "develop" - - # No bottling necessary - bottle :unneeded - - # Define the installation steps - def install - # Install the application - bin.install buildpath/"asimov" - end - - # Define launch agent plist options (launch automatically, but also allow manual startup) - plist_options :startup => true, :manual => "asimov" - - # Define the agent plist contents - def plist - <<~EOS - - - - - Label - #{plist_name} - Program - #{opt_bin}/asimov - StartInterval - - 86400 - - - EOS - end - - # Define tests to run - test do - # Test that the binary exists - assert File.file?(bin/"asimov"), "asimov binary not found" - - # Test that the symlink exists - assert File.file?("/usr/local/bin/asimov"), "asimov binary symlink not found in /usr/local/bin" - - # Test that the launch agent plist exists - assert File.file?(plist_path), "asimov plist not found in "+plist_path - end -end