Skip to content
This repository was archived by the owner on Aug 16, 2021. It is now read-only.

Conversation

dmius
Copy link
Collaborator

@dmius dmius commented Jun 27, 2018

No description provided.

nancy.sh Outdated
cmd=""

case "$1" in
run )
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Интересно, может сделать полную динамику и всегда искать nancy_слово.sh а если нет такого, ругаться?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

думаю можно

Copy link
Collaborator

@NikolayS NikolayS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Дим, а тесты?

nancy.sh Outdated
;;
esac

while [ -n "$1" ]
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Хм, и этот цикл сделает проброс остатка всех параметров?

И при этом скажем, nancy_run.sh вызовется только 1 раз?
Как-то вызов в цикле удивляет

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

А, всё, понял, вязов ниже, после цикла

@dmius
Copy link
Collaborator Author

dmius commented Jun 27, 2018

Над тестами подумаю...

Copy link
Collaborator

@NikolayS NikolayS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Всё ок, только были табы вместо пробелов, поправил своим коммитом

  • переименовал nancy.sh в nancy

@NikolayS
Copy link
Collaborator

Стоит ещё простой тест написать, что nancy run вообще работает (если директорию в $PATH добавить) и к ошибками не приводит.

@NikolayS
Copy link
Collaborator

Увидел тесты :) Поправляю

@dmius dmius merged commit acdc842 into master Jun 28, 2018
@dmius dmius deleted the dmius-nancy-cli branch June 28, 2018 16:12
NikolayS pushed a commit that referenced this pull request Sep 18, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants