Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ testpublish:
make clean
make compile
make test
make _testpublish

_testpublish:
twine upload --repository testpypi dist/*

publish:
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## Goto
v1.6.0
v1.6.2

*Goto is a magic tool that takes you were you want to be, now.*

Expand Down Expand Up @@ -38,7 +38,7 @@ git bash is included when you install git on windows usually.

Some git bash installs comes without any rcfile.
If you get this error: `Ah hoy! Failed to determine rcfile...`
you can fix it by running`touch ~/.bash_profile` and then `install_goto`
you can fix it by running`touch ~/.bashrc` and then `install_goto`



Expand Down
2 changes: 1 addition & 1 deletion bin/install_goto
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ source start_goto || check_status


# Set up goto project if it is not present already.
if [ ! -f "$GOTOPATH/projects/goto.json" ]; then
if [ ! -d "$GOTOPATH/projects/goto" ]; then
# add your first project
project add goto || check_status

Expand Down
4 changes: 2 additions & 2 deletions goto/gotomagic/magic.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import os
import sys

from .text import GotoWarning
from .text import GotoWarning, GotoError
from .. import settings
from . import utils

Expand Down Expand Up @@ -228,4 +228,4 @@ def save_magic(jfile, magic):
f.write(data)
return None
except Exception as e:
return GotoWarning("magic_could_not_be_saved", message=str(e))
return GotoError("magic_could_not_be_saved", message=str(e))
Loading