Skip to content

Commit becd2a3

Browse files
committed
Renamed editor to avoid conflicts
1 parent 3469c61 commit becd2a3

File tree

4 files changed

+12
-8
lines changed

4 files changed

+12
-8
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# What is it
22

3-
editor - lite version of line-oriented text editor
3+
edit - lite version of line-oriented text editor
44

55
# Build
66

@@ -19,4 +19,8 @@ Check options with -h flag for build script (build.sh) and editor.
1919

2020
# TODO
2121

22-
commands: cut, copy, paste, swap
22+
commands:
23+
- [ ] - cut
24+
- [ ] - copy
25+
- [ ] - paste
26+
- [ ] - swap

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ compile_release() {
1111
}
1212

1313
install() {
14-
meson install -C build
14+
sudo meson install -C build
1515
}
1616

1717
clean() {

meson.build

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
project('editor', 'c',
1+
project('edit', 'c',
22
version : '0.1',
33
license : 'GPL-3.0-only',
44
meson_version : '>=0.60.0')
@@ -38,7 +38,7 @@ endif
3838
incdir = include_directories('include')
3939
src = ['src/buffer.c', 'src/parser.c', 'src/exec.c', 'src/io.c', 'src/main.c', 'src/misc.c']
4040

41-
executable('editor',
41+
executable('edit',
4242
sources : src,
4343
include_directories : incdir,
4444
c_args : args,

src/misc.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#include <stdarg.h>
55
#include <limits.h>
66

7-
static const char* const program_version = "0.2";
7+
static const char* const program_version = "0.3";
88

99
void p_err(const char* fmt, ...)
1010
{
@@ -28,7 +28,7 @@ void p_warn(const char *fmt, ...)
2828

2929
void help(void)
3030
{
31-
printf("usage: editor [options]\n\n");
31+
printf("usage: edit [options]\n\n");
3232

3333
printf("[cli options]:\n");
3434
printf("\t-h - prints this help message\n");
@@ -50,7 +50,7 @@ void help(void)
5050

5151
void version(void)
5252
{
53-
printf("editor version - v%s\n", program_version);
53+
printf("edit version - v%s\n", program_version);
5454
}
5555

5656
size_t get_number(const char *line)

0 commit comments

Comments
 (0)