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

Standardize Build Strategy #63

Open
1 task
curran opened this issue Dec 7, 2015 · 2 comments
Open
1 task

Standardize Build Strategy #63

curran opened this issue Dec 7, 2015 · 2 comments

Comments

@curran
Copy link
Collaborator

curran commented Dec 7, 2015

Currently, there are several modules shimmed out of browser builds for each Chiasm component, but this is not documented anywhere. Also, the NPM scripts are different for each Chiasm subproject.

  • Generate a "standard template" that includes NPM scripts
    • test - runs unit tests
    • build - creates the NPM build and the browser build
    • release - this script should help with the process of adding a specific version of the browser build to the gh-pages branch.

The current flow for cutting a release involves too much manual work:

npm version patch
npm publish
git push --tags
git push
npm run build-browser
cp chiasm-modue.js ../
git checkout gh-pages
mv ../chiasm-module.js ./chiasm-module-v0.2.1
git add .
git commit -m "Add v0.2.1"
git push
@Hypercubed
Copy link
Contributor

Might conisder using np and p-s.

@curran
Copy link
Collaborator Author

curran commented Jul 10, 2016

Thanks, those look like awesome tools!

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

No branches or pull requests

2 participants