Skip to content

Update 'rake install' to correctly install build dependencies on adho… - #4525

Merged
philbogle merged 2 commits into
stagingfrom
adhoc_rakefile2
Oct 13, 2015
Merged

Update 'rake install' to correctly install build dependencies on adho…#4525
philbogle merged 2 commits into
stagingfrom
adhoc_rakefile2

Conversation

@philbogle

Copy link
Copy Markdown
Contributor

Update 'rake install' so that it treats adhoc like development in terms of installing build dependencies.

(This is more general version of some previous changes.)

@philbogle philbogle assigned joshlory and davidsbailey and unassigned joshlory Oct 13, 2015
Comment thread Rakefile

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

doesn't hurt to be safe, but I am curious if there is there an environment with rack_env?(:development) && CDO.chef_managed ? If not this could be simplified.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Never mind, I see you're just extracting and augmenting existing logic.

@davidsbailey

Copy link
Copy Markdown
Member

LGTM

@philbogle

Copy link
Copy Markdown
Contributor Author

One more small change: I added this line for the linux install:

  RakeUtils.system 'sudo apt-get install -y nodejs npm'

philbogle added a commit that referenced this pull request Oct 13, 2015
Update 'rake install' to correctly install build dependencies on adho…
@philbogle
philbogle merged commit 15f62af into staging Oct 13, 2015
@philbogle
philbogle deleted the adhoc_rakefile2 branch December 15, 2015 19:11
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.

3 participants