-
Notifications
You must be signed in to change notification settings - Fork 15
Add a Makefile to workflow #43
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
base: master
Are you sure you want to change the base?
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| # .PHONY: Declares phony targets, which are commands that don't produce a file with the same name. | ||
| .PHONY: install start build test clean | ||
|
|
||
| # Install project dependencies | ||
| site: | ||
| npm install | ||
| npm run dev | ||
|
|
||
| # Start the development server | ||
| site: | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @indevi same action define above, Please remove this.
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Sure, first thing Monday
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. removed |
||
| npm run dev | ||
|
|
||
| # Build the project for production | ||
| build: | ||
| npm run build | ||
|
|
||
| # Run project tests | ||
| test: | ||
| npm run test | ||
|
|
||
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.
add
make siteit should run bothnpm installthennpm run devThere 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.
hope this is what you are looking for here @saurabhraghuvanshii
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.
@indevi this is good but can you refer this https://github.com/layer5io/layer5/blob/master/Makefile once
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.
refered and added a echo message