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

Create create_build.sh #90

Merged
merged 5 commits into from
Jul 26, 2023

Conversation

Abhinavcode13
Copy link
Contributor

@Abhinavcode13 Abhinavcode13 commented Jun 2, 2023

Added a new build script

Advantages:
A build.sh script automates the process of building the software, making it easier and more efficient. Developers can simply run the script instead of manually executing a series of commands or steps.

Build scripts often include steps to handle dependencies. They can download and install required libraries, frameworks, or external tools automatically, ensuring that all necessary dependencies are in place before building the software.

By using a build.sh script, the build process becomes reproducible. This means that anyone with the script can generate the same build output, ensuring consistency across different machines and enabling collaboration among team members.

closes #83

Added a new script
@Abhinavcode13
Copy link
Contributor Author

Please check the PR @sahil-sagwekar2652 !!

thanks

@Abhinavcode13
Copy link
Contributor Author

Please assign the level to the issue @sahil-sagwekar2652

Copy link
Owner

@sahil-sagwekar2652 sahil-sagwekar2652 left a comment

Choose a reason for hiding this comment

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

Can you explain the 'mvn' command used in the script? How can a user build apps with different languages?

@Abhinavcode13
Copy link
Contributor Author

Maven is a popular build automation and project management tool primarily used for Java projects, although it can also be used with projects written in other languages.

in this script it performs several tasls such as

mvn clean: It ensures a clean slate before starting the build process.

mvn package: he packaging step includes compiling the source code, running tests, and creating the output artifact.

mvn test: runs the test cases

JavaScript/Node.js projects, you can use tools like npm or yarn in package.json

they all provide similar functionality as maven

@Abhinavcode13
Copy link
Contributor Author

This is I want to convey hope you get it now @sahil-sagwekar2652

Copy link
Owner

@sahil-sagwekar2652 sahil-sagwekar2652 left a comment

Choose a reason for hiding this comment

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

Doesn't it require a specific file structure? I would request you to write an elaborate README section for this script, explaining how maven is being used and also the dependencies which need to be installed.

@sahil-sagwekar2652
Copy link
Owner

Looks good, rename the file to maven_build.sh

@Abhinavcode13
Copy link
Contributor Author

@sahil-sagwekar2652 done

@Abhinavcode13
Copy link
Contributor Author

@sahil-sagwekar2652 done please merge

@sahil-sagwekar2652 sahil-sagwekar2652 added gssoc23 Issues created for GSSoC 23 contributors level3 labels Jul 26, 2023
Copy link
Owner

@sahil-sagwekar2652 sahil-sagwekar2652 left a comment

Choose a reason for hiding this comment

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

I'm merging this now. Good job, thanks for contributing :)

@sahil-sagwekar2652 sahil-sagwekar2652 merged commit 0ca62a7 into sahil-sagwekar2652:main Jul 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gssoc23 Issues created for GSSoC 23 contributors level3
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Build script
2 participants