From 409957ea1ea81a9c2f15607f36c3edf88346764d Mon Sep 17 00:00:00 2001 From: miccal Date: Mon, 3 Aug 2020 07:41:29 +0800 Subject: [PATCH] joplin: migrate to cask Closes #59053. Signed-off-by: Mike McQuaid Signed-off-by: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> --- Formula/joplin.rb | 35 ----------------------------------- tap_migrations.json | 1 + 2 files changed, 1 insertion(+), 35 deletions(-) delete mode 100644 Formula/joplin.rb diff --git a/Formula/joplin.rb b/Formula/joplin.rb deleted file mode 100644 index 941dc357df..0000000000 --- a/Formula/joplin.rb +++ /dev/null @@ -1,35 +0,0 @@ -require "language/node" - -class Joplin < Formula - desc "Note taking and to-do application with synchronisation capabilities" - homepage "https://joplin.cozic.net/" - url "https://registry.npmjs.org/joplin/-/joplin-1.0.164.tgz" - sha256 "d4292ee33a108dd917d951644d0be7fe63b50d8108504758b1ad7c0b798c0539" - license "MIT" - - livecheck do - url :stable - end - - bottle do - sha256 "b1db2009b91e989c0fef249e97cd6510061bc76d7deb4156c5b0ff48cf1b25f6" => :catalina - sha256 "db19b4eaf3006ab2d5854cfe40385f5786f67038f593fa8f250ad62af9326c0d" => :mojave - sha256 "20a106fc8277d35fbc9fab011d62e3c3184249c9c87a30282094717294145bf8" => :high_sierra - end - - depends_on "pkg-config" => :build - depends_on "node" - depends_on "sqlite" - depends_on "vips" - - def install - system "npm", "install", *Language::Node.std_npm_install_args(libexec), - "--sqlite=#{Formula["sqlite"].opt_prefix}" - bin.install_symlink Dir["#{libexec}/bin/*"] - end - - test do - system bin/"joplin", "config", "editor", "subl" - assert_match "editor = subl", shell_output("#{bin}/joplin config") - end -end diff --git a/tap_migrations.json b/tap_migrations.json index 9a4afe9d0f..6d631de2be 100644 --- a/tap_migrations.json +++ b/tap_migrations.json @@ -20,6 +20,7 @@ "gtkwave": "homebrew/cask", "horndis": "homebrew/cask", "inkscape": "homebrew/cask", + "joplin": "homebrew/cask", "jsl": "homebrew/cask", "keybase": "homebrew/cask", "meld": "homebrew/cask",