brbrown25 / macros

A collection of scala macros for experimentation.

Version Matrix

License CI Release Artifacts Snapshot Artifacts Scala Steward

macros

A collection of scala macros for experimentation. this has mainly been for learning about macros, but ProcessTimer is actually inspired by a recent python project I did where I implemented a timer inspired by https://medium.com/pythonhive/python-decorator-to-measure-the-execution-time-of-methods-fa04cb6bb36d

sbt "examples/test" sbt "examples/run"

TODO: Documentation Published Module

##Usage Add the following to your dependencies

  • for Release version (currently 2.11 and 2.12):
libraryDependencies += "com.bbrownsound" %% "macros" % "1.0.1"
  • for Snapshot version (currently 2.11, 2.12, 2.13):
libraryDependencies += "com.bbrownsound" %% "macros" % "1.0.2-SNAPSHOT"

Note you may also need to add the following resolver resolvers ++= Seq("snapshots", "releases").map(Resolver.sonatypeRepo)

Release: manual process seems the best for now till I can work out the kinks.