Skip to content

Commit 4ecf6cf

Browse files
Merge pull request #34 from felipealfonsog/development
Development
2 parents a16a248 + 532044d commit 4ecf6cf

2 files changed

Lines changed: 7 additions & 11 deletions

File tree

Formula/term-notes.rb

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,29 +5,25 @@ class TermNotes < Formula
55
sha256 "e1ae65286b64c3466d5749524c79df1063ec9db35b265f0359d24cc76397d88c"
66
license "MIT"
77

8-
depends_on "nano"
9-
depends_on "vim"
8+
depends_on "gcc"
109

1110
def install
12-
if OS.mac?
13-
bin.install "term_notes" => "term-notes"
14-
else
15-
bin.install "term_notes"
16-
end
11+
system "gcc", "src/term_notes.c", "-o", "term-notes"
12+
bin.install "term-notes"
1713
end
1814

1915
def caveats
2016
<<~EOS
2117
'Term Notes' has been installed!
2218
23-
On Mac OS, you can run the program using 'term-notes'.
19+
On macOS, you can run the program using 'term-notes'.
2420
2521
On Linux, you may need to create a symbolic link to make it accessible globally.
2622
Run the following command:
2723
28-
sudo ln -s #{opt_bin}/term_notes /usr/local/bin/term-notes
24+
sudo ln -s #{opt_bin}/term-notes /usr/local/bin/term-notes
2925
3026
Enjoy taking notes with 'Term Notes'!
3127
EOS
3228
end
33-
end
29+
end

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ This command will automatically fetch the package from AUR and handle the instal
3939

4040
[![Homebrew Rejected](https://img.shields.io/badge/Homebrew-Not%20Accepted-yellow)](https://github.com/TermNotes)
4141

42-
We regret to inform you that the project, Term Notes, has been rejected by Homebrew for publication in their package repository. This means that Linux users from different distros, unfortunately, won't be able to install Term Notes directly through Homebrew. However, we have an alternative solution for Arch Linux users!
42+
I regret to inform you that the project, Term Notes, has been rejected by Homebrew for publication in their package repository. This means that Linux users from different distros, unfortunately, won't be able to install Term Notes directly through Homebrew. However, we have an alternative solution for Arch Linux users!
4343

4444
Term Notes can still be installed through the YAY package manager, ensuring Arch Linux users can enjoy the benefits of the note-taking application. Simply follow the instructions provided in the project's documentation to install Term Notes using YAY.
4545

0 commit comments

Comments
 (0)