Skip to content

Instantly share code, notes, and snippets.

@borkdude
Last active May 24, 2022 11:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save borkdude/c803b5b59979429a6e92cd4b8956c2c8 to your computer and use it in GitHub Desktop.
Save borkdude/c803b5b59979429a6e92cd4b8956c2c8 to your computer and use it in GitHub Desktop.
Project conventions

Some of my conventions:

  • Create initial build.clj with neil add build :deps-deploy true and then tweak. Use vanilla tools.build for maximum control and better startup time.
  • Have bb directory with task code which you can require from bb.edn
  • bb dev launches the dev REPL
  • bb publish prepares repo for publish (e.g. by updating something and creating tag), pushes and CI takes over. The name publish originated from vsce publish here
  • Probably going forward: use release count rather than commit count (less complicated to deal with and smaller numbers are easier to remember)
  • For new projects: neil license add mit (or epl1 or so)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment