commit 6e7d2b4
Artur Manuel
·
2025-07-12 03:34:02 +0000 UTC
parent bff6437
feat: add LICENSE, README and Makefile
4 files changed,
+54,
-0
A
LICENSE
+5,
-0
1@@ -0,0 +1,5 @@
2+Copyright (C) 2025 by Artur Manuel <amad@atl.tools>
3+
4+Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted.
5+
6+THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
A
Makefile
+15,
-0
1@@ -0,0 +1,15 @@
2+PREFIX ?= /usr/local
3+BINDIR := $(PREFIX)/bin
4+
5+install: stfu
6+ mkdir -p $(PREFIX)
7+ mkdir $(BINDIR)
8+ cp build/src/stfu $(BINDIR)
9+
10+stfu:
11+ meson setup build --wipe
12+ cd build
13+ ninja
14+
15+clean:
16+ rm -rf build
+34,
-0
1@@ -0,0 +1,34 @@
2+# stfu - shut the fetch up
3+
4+A tool to show your really cannot give a fuck about fetch scripts any
5+more.
6+
7+
8+
9+## Building
10+
11+You need the following tools on your system:
12+
13+- Make
14+- Meson
15+- Ninja
16+- A C++ compiler that supports C++23 ()
17+
18+Then it's just a matter of running the following commands:
19+```
20+$ make
21+...
22+$ ./build/src/stfu
23+```
24+
25+## Installing
26+
27+Installing this script is nearly the same process, with the main
28+difference being you provide the `install` argument to make. You may
29+also have to specify the PREFIX in case you think it is wrong.
30+
31+```
32+$ make install PREFIX="$HOME/opt/stfu/"
33+...
34+# ~/opt/stfu/bin/stfu
35+```
+0,
-0