Skip to content
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

[#22] Makefile for Dunner #30

Merged
merged 3 commits into from
Feb 10, 2019
Merged

Conversation

championballer
Copy link
Contributor

@championballer championballer commented Jan 22, 2019

Works on #22

Added MakeFile for Dunner with dep and install under all and separate target for test. Please see if any changes are required. 👍

Makefile Outdated
GOTEST=$(GOCMD) test
DEP=dep

all : dep install
Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Alright. 👍

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Added phony targets @agentmilindu, please check. 👍

Makefile Outdated
dep:
@$(DEP) ensure

install:
Copy link
Contributor

Choose a reason for hiding this comment

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

I see some examples which use make install to install the dependencies and make to install the app. Shall we check how's the convention? My knowledge is limited on this.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I will check and let you know and accordingly update this. Thanks. 👍

Copy link
Contributor Author

@championballer championballer Jan 26, 2019

Choose a reason for hiding this comment

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

@agentmilindu I couldn't find anything conclusive on this, but this approach makes sense to me,so I updated the commit accordingly. Please have a look, and as we move forward we will make changes as per requirements? I also added a clean target, so have a look at that as well. GNU make suggests some targets to be present in the makefile, so I added the ones which I thought made sense and were of use. 👍

Copy link
Contributor

Choose a reason for hiding this comment

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

Cool

@championballer
Copy link
Contributor Author

@agentmilindu @rehrumesh Please review the changes. Thanks.

@agentmilindu agentmilindu merged commit ee7cc1e into leopardslab:develop Feb 10, 2019
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