macros


License

License

GroupId

GroupId

com.bbrownsound
ArtifactId

ArtifactId

macros_2.13
Last Version

Last Version

1.0.2
Release Date

Release Date

Type

Type

jar
Description

Description

macros
macros
Project URL

Project URL

https://github.com/brbrown25/macros
Project Organization

Project Organization

com.bbrownsound
Source Code Management

Source Code Management

https://github.com/brbrown25/macros

Download macros_2.13

How to add to project

<!-- https://jarcasting.com/artifacts/com.bbrownsound/macros_2.13/ -->
<dependency>
    <groupId>com.bbrownsound</groupId>
    <artifactId>macros_2.13</artifactId>
    <version>1.0.2</version>
</dependency>
// https://jarcasting.com/artifacts/com.bbrownsound/macros_2.13/
implementation 'com.bbrownsound:macros_2.13:1.0.2'
// https://jarcasting.com/artifacts/com.bbrownsound/macros_2.13/
implementation ("com.bbrownsound:macros_2.13:1.0.2")
'com.bbrownsound:macros_2.13:jar:1.0.2'
<dependency org="com.bbrownsound" name="macros_2.13" rev="1.0.2">
  <artifact name="macros_2.13" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.bbrownsound', module='macros_2.13', version='1.0.2')
)
libraryDependencies += "com.bbrownsound" % "macros_2.13" % "1.0.2"
[com.bbrownsound/macros_2.13 "1.0.2"]

Dependencies

compile (2)

Group / Artifact Type Version
org.scala-lang : scala-library jar 2.13.4
ch.qos.logback : logback-classic jar 1.2.3

provided (2)

Group / Artifact Type Version
org.scala-lang : scala-compiler jar 2.13.4
org.scala-lang : scala-reflect jar 2.13.4

test (1)

Group / Artifact Type Version
org.scalatest : scalatest_2.13 jar 3.2.3

Project Modules

There are no modules declared in this project.

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

Versions

Version
1.0.2