-
-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add fetch configlet script #49
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggested changes just to sync with the latest upstream copy. I don't mind if we just do it later in a mass PR, though.
bin/fetch-configlet
Outdated
# Please submit bugfixes/improvements to the above file to ensure that all tracks | ||
# benefit from the changes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# Please submit bugfixes/improvements to the above file to ensure that all tracks | |
# benefit from the changes. | |
# Please submit bugfixes/improvements to the above file to ensure that all tracks benefit from the changes. |
bin/fetch-configlet
Outdated
cut -d'"' -f4 | ||
} | ||
|
||
main () { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
main () { | |
main() { |
bin/fetch-configlet
Outdated
main () { | ||
if [[ -d ./bin ]]; then | ||
output_dir="./bin" | ||
elif [[ $PWD = */bin ]]; then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
elif [[ $PWD = */bin ]]; then | |
elif [[ $PWD == */bin ]]; then |
This PR does two things:
The
./bin/fetch-configlet
script helps maintainers runconfiglet
locally, as is used by all tracks. This makes running commands likeconfiglet lint
, an essential part of maintaining a track, very easy.Ref exercism/configlet#286