Skip to content

Commit d4fbcc0

Browse files
Change reference names to gyt (#32)
1 parent 2c565bc commit d4fbcc0

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
*.exe
3131
*.out
3232
*.app
33-
app/adder_app
33+
app/gyt
3434
tests/tests
3535
build/**/*
3636

app/CMakeLists.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
add_executable(adder_app adder_app.cpp)
2-
target_link_libraries(adder_app PRIVATE commands)
1+
add_executable(gyt gyt.cpp)
2+
target_link_libraries(gyt PRIVATE commands)
File renamed without changes.

doc/commands/init.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44

55
## Command usage
66

7-
- `./adder_app init` - creates an empty repository
8-
- `./adder_app init -p [path]` - creates an empty repository on the specified path
7+
- `gyt init` - creates an empty repository
8+
- `gyt init -p [path]` - creates an empty repository on the specified path
99

1010
## Implementation details
1111

run.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ if [ "$1" == "-p" ]; then
1010
fi
1111

1212
# remove old build if any
13-
if [ -f "app/adder_app" ]; then
14-
rm -rf app/adder_app
13+
if [ -f "app/gyt" ]; then
14+
rm -rf app/gyt
1515
fi
1616

1717
# Print the selected build type
@@ -26,4 +26,4 @@ make
2626

2727
# symlink - so I can run it like gyt [arguments....]
2828
sudo rm /usr/local/bin/gyt
29-
sudo ln -s "$(pwd)/app/adder_app" /usr/local/bin/gyt
29+
sudo ln -s "$(pwd)/app/gyt" /usr/local/bin/gyt

0 commit comments

Comments
 (0)