Skip to content

Commit 2b4d254

Browse files
Merge pull request #16 from SpaciousCoder78/development
feat: Added make for build system and updated docs
2 parents de6800b + c63a59f commit 2b4d254

File tree

4 files changed

+23
-15
lines changed

4 files changed

+23
-15
lines changed

Makefile

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
#Makefile for QuickOverflow
2+
#Update 2.1.0 - Added make to replace install.sh
3+
#type make into terminal to install QuickOverflow
4+
QuickOverflow: main.c
5+
pip3 install -r requirements.txt --break-system-packages
6+
mkdir -p bin
7+
gcc -I/usr/include/python3.12 main.c -lpython3.12 -o bin/QuickOverflow
8+
chmod +x search.py
9+
10+
11+
#to remove the binaries, use this
12+
uninstall:
13+
rm -rf bin

README.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ QuickOverflow has a solution for that.
2323

2424
QuickOverflow is a Command Line Tool for Linux based systems to quickly get to solutions for your errors on browser right from your terminal, without ever clicking on your browser icon.
2525

26-
As of v1.0.1, QuickOverflow only supports Python debugging. However, support for other languages is planned and underway.
26+
As of v2.1.0, QuickOverflow only supports Python debugging. However, support for other languages is planned and underway.
2727

2828
## Getting Started
2929

@@ -76,17 +76,22 @@ $ git clone https://github.com/SpaciousCoder78/QuickOverflow.git
7676
$ cd QuickOverflow
7777
```
7878

79-
- Run the install script on your Linux system
79+
- Run `make` on your Linux system in the cloned directory
8080

8181
```sh
82-
$ sh install.sh
82+
$ make
8383
```
8484

8585
- Run the run script to start using QuickOverflow
8686

8787
```sh
8888
$ sh run.sh
8989
```
90+
- To uninstall QuickOverflow
91+
92+
```sh
93+
$ make uninstall
94+
```
9095

9196
## User Manual
9297

headers/commands.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ int quickoverflow_help(char **args){
109109
"\\ \\/' / |_| | | (__| <\\ \\_/ /\\ V / __/ | | | | | (_) \\ V V / \n"
110110
" \\_/\\_\\\\__,_|_|\\___|_|\\_\\\\___/ \\_/ \\___|_| |_| |_|\\___/ \\_/\\_ \n"
111111
" \n");
112-
printf("---------------------------------Version 2.0.0----------------------------\n");
112+
printf("---------------------------------Version 2.1.0----------------------------\n");
113113
printf("Type program names and arguments, and hit enter.\n");
114114
printf("The following are built in:\n");
115115

@@ -137,7 +137,7 @@ int quickoverflow_about(char **args){
137137
"\\ \\/' / |_| | | (__| <\\ \\_/ /\\ V / __/ | | | | | (_) \\ V V / \n"
138138
" \\_/\\_\\\\__,_|_|\\___|_|\\_\\\\___/ \\_/ \\___|_| |_| |_|\\___/ \\_/\\_ \n"
139139
" \n");
140-
printf("Version: 2.0.0\n");
140+
printf("Version: 2.1.0\n");
141141
printf("License: GNU GPL-3 License\n");
142142
printf("Author: Aryan Karamtoth (SpaciousCoder78)\n");
143143
printf("Author Email: [email protected]\n");

install.sh

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)