brbrown25 / macros   1.0.2

Apache License 2.0 GitHub

A collection of scala macros for experimentation.

Scala versions: 2.13 2.12 2.11

License CI Release Artifacts Snapshot Artifacts Scala Steward Coverage

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

##Usage

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. Locally I needed to do

GPG_TTY=$(tty)
export GPG_TTY

and in the sbt console

; sonatypeOpen; +publishSigned; sonatypeClose; sonatypePromote