Skip to content

brbrown25/macros

Repository files navigation

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