-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathterm-notes.rb
More file actions
executable file
·29 lines (22 loc) · 813 Bytes
/
term-notes.rb
File metadata and controls
executable file
·29 lines (22 loc) · 813 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
class TermNotes < Formula
desc "Terminal-based note-taking application"
homepage "https://github.com/felipealfonsog/TermNotes"
url "https://github.com/felipealfonsog/TermNotes/archive/refs/tags/v.1.0.2.tar.gz"
sha256 "e1ae65286b64c3466d5749524c79df1063ec9db35b265f0359d24cc76397d88c"
license "MIT"
depends_on "gcc"
def install
system "gcc", "src/term_notes.c", "-o", "term-notes"
bin.install "term-notes"
end
def caveats
<<~EOS
'Term Notes' has been installed!
On macOS, you can run the program using 'term-notes'.
On Linux, you may need to create a symbolic link to make it accessible globally.
Run the following command:
sudo ln -s #{opt_bin}/term-notes /usr/local/bin/term-notes
Enjoy taking notes with 'Term Notes'!
EOS
end
end