wende / elchemy

Write Elixir code using statically-typed Elm-like syntax (compatible with Elm tooling)
https://wende.github.io/elchemy/
MIT License
1.15k stars 28 forks source link

Write a pipeline for "publishing" packages #183

Open wende opened 7 years ago

wende commented 7 years ago

elchemy bump patch | minor | major

-1. Run elm-test and make sure they're passing
0. Make sure git is empty
1. Change version in mix.exs
2. Change version in elm-package.json
3. Enforce exposed modules
4. Generate docs using elm-docs
5. Git commit -am "version"
6. Git tag version
baransu commented 7 years ago

There is great CLI tool for better npm publish we can lear from this a lot. https://github.com/sindresorhus/np

wende commented 7 years ago

@Baransu looks like we could just fork it and replace everything package.json related with elm-package.json and everything npm publish related to git push