Skip to content

Use bundle to execute commands #27

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

Merged
merged 2 commits into from
Jul 17, 2017
Merged

Use bundle to execute commands #27

merged 2 commits into from
Jul 17, 2017

Conversation

darekmydlarz
Copy link
Contributor

Add flag to make it possible to run build commands via bundle.

Additionally add build.sh script. I spend some time figuring out how to build & install locally.

@0crat
Copy link
Collaborator

0crat commented Jul 5, 2017

@yegor256 please, pay attention to this pull request

bash/deploy.sh Outdated
if [ -r ${DEPLOY_CONFIG} ]; then
jekyll build --config _config.yml,${DEPLOY_CONFIG}
if [ -r ${BUNDLE} ]; then
if [ -r ${DEPLOY_CONFIG} ]; then
Copy link
Owner

@yegor256 yegor256 Jul 10, 2017

Choose a reason for hiding this comment

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

@dmydlarz looks like code duplication for me. How about passing $5 as bundle exec and just using it here as a prefix.

bin/jgd Outdated
@@ -22,6 +23,7 @@ fail 'branch-from can\'t be empty' if branch_from.empty?
fail 'config can\'t be empty' if config.empty?
url = opts[:url]
url = `git config --get remote.origin.url`.strip if url.empty?
bundle = opts[:bundle]
Copy link
Owner

Choose a reason for hiding this comment

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

@dmydlarz here: bundle = opts[:bundle] ? 'bundle exec' : ''

build.sh Outdated
@@ -0,0 +1,3 @@
#!/bin/bash
Copy link
Owner

Choose a reason for hiding this comment

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

@dmydlarz maybe let's just put this into README? What's the point of having this file here?

@yegor256
Copy link
Owner

@dmydlarz see my comments above

@darekmydlarz
Copy link
Contributor Author

@yegor256 what do you think now?

@yegor256
Copy link
Owner

@rultor try to merge

@rultor
Copy link
Collaborator

rultor commented Jul 17, 2017

@rultor try to merge

@yegor256 OK, I'll try to merge now. You can check the progress of the merge here

@rultor rultor merged commit fae2610 into yegor256:master Jul 17, 2017
@rultor
Copy link
Collaborator

rultor commented Jul 17, 2017

@rultor try to merge

@yegor256 Done! FYI, the full log is here (took me 2min)

@darekmydlarz
Copy link
Contributor Author

@yegor256 I am not into RubyGems at all. Is it gonna be published there somehow automatically?

@yegor256
Copy link
Owner

@rultor release, tag is 1.10

@rultor
Copy link
Collaborator

rultor commented Jul 18, 2017

@rultor release, tag is 1.10

@yegor256 OK, I will release it now. Please check the progress here

@rultor
Copy link
Collaborator

rultor commented Jul 18, 2017

@rultor release, tag is 1.10

@yegor256 Done! FYI, the full log is here (took me 2min)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants