-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjavaprojectmanager.rb
More file actions
32 lines (27 loc) · 974 Bytes
/
javaprojectmanager.rb
File metadata and controls
32 lines (27 loc) · 974 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
class Javaprojectmanager < Formula
desc "Easily compile and run Java files, manage cleanup, and view syntax-highlighted errors through a user-friendly fuzzy-finding menu."
homepage "https://github.com/av1155/scripts"
url "https://raw.githubusercontent.com/av1155/scripts/main/scripts/JavaProjectManager/JavaProjectManager.zsh"
version "2.2.0"
sha256 "8b83bd78cfa8fd0a63355c2d0c487e8e47cb4295cf2afc3171c5c09c3b381672"
license "MIT"
depends_on "fzf"
depends_on "bat"
depends_on "openjdk"
depends_on "maven"
def install
bin.install "JavaProjectManager.zsh" => "jcr"
end
# This method provides additional information to the user post-installation
def caveats
<<~EOS
To run JavaProjectManager, use the 'jcr' command in your terminal.
Options:
-h, --help: Display help information.
-v, --version: Display the version of JavaProjectManager.
EOS
end
test do
system "#{bin}/jcr", "--version"
end
end