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

Replacing Ant build with Grunt build #65

Open
wants to merge 13 commits into
base: master
Choose a base branch
from

Conversation

jvmartins
Copy link

So, this happened yesterday on twitter:

tweet

Since this, I decided to replace ant build of js-signals with grunt. I've recently done a similar change in a project in my company. So, it would be nice to contribute to js-signals giving a renewed build process, since it is a project that helped me solve many problems. It is not a big contribution, but might be nice for whoelse want to build and contribute to js-signals.

Main point: I kept ALL the behaviors that were inside build.xml, most of the time exactly as it is in the build.xml, even the echo logs were translated to grunt.log. Tried as much possible to not make any change in the process or even improvements (since it is a very stable library, I don't want to break anything). All the information inside build.properties file were moved to build.properties.json and is being used inside Gruntfile.js, except for the version and build.number, that are now gathered from package.json.

Only thing that is a bit different from original build.xml is that the task grunt-jsdoc use JSDoc3. So, I put the deploy task to run grunt-jsdoc, generating a documentation with a new template (since the one that was being used in JSDoc2 is not available for JSDoc3).
** Original documentation is NOT being changed in this pull request. In order to change the docs for the new version, it will be needed to run grunt deploy.

Build passed: https://travis-ci.org/jvmartins/js-signals

jvmartins and others added 13 commits April 14, 2015 00:12
Transforming build from ant to grunt
Removing ant build and adding grunt build
Adding local closure_path to not need any environment variable.
Returning to last build number
Removing doc files
Changing from "licenses" to "license" in package.json
Returnin build number to 272
Adding old documentation files
Building on travis ci
Updating devDependencies
Updating node version
Updating jasmine-node version
Adding grunt-cli to .travis.yml
Fix build number and date written in dist files
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.

2 participants