Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

just a thought

branch: master

new sbt

latest commit 72caadd836
doug tangren authored July 01, 2013
Octocat-spinner-32 notes fix notes December 23, 2011
Octocat-spinner-32 project new sbt July 01, 2013
Octocat-spinner-32 src Initialize has a new namespace June 11, 2013
Octocat-spinner-32 .gitignore ek stupid gitignore September 19, 2011
Octocat-spinner-32 .jot jot's .jot December 23, 2011
Octocat-spinner-32 LICENSE years changed March 08, 2012
Octocat-spinner-32 README.md new resolver March 08, 2012
Octocat-spinner-32 build.sbt new sbt July 01, 2013
README.md

jot

Simple local storage for all of those half baked ideas.

jot, drop and roll.

Install

Add the following to your plugin definition

addSbtPlugin("me.lessis" % "jot" % "0.1.0")

And if you haven't added it already, add the community sbt resolver

resolvers += Resolver.url("sbt-plugin-releases",
  url("http://scalasbt.artifactoryonline.com/scalasbt/sbt-plugin-releases/"))(
    Resolver.ivyStylePatterns)

And add following in your build definition

seq(jotSettings:_*)

Install globally

This is usually preferable, as it is less intrusive

Append ~/.sbt/plugins/build.sbt with

addSbtPlugin("me.lessis" % "jot" % "0.1.0")

In any .sbt file under ~/.sbt, say ~/.sbt/jot.sbt for instance, append

seq(jotSettings:_*)

usage

Jot stores data in a .jot file in your project's root

What to keep your jots to yourself? That's cool. Just add .jot to your .gitignore file.

Below is a list of available settings

jot                                                     # Appends an item to your jot file
clean(for jot)        or (clean in (SomeConfig, jot))   # Removes an item from your jot file
jot-drop              or (drop in SomeConfig))          # Drops a target item from your jot file
jot-cat               or (cat in (SomeConfig))          # Lists your jottings
jot-file              or (jotFile in (SomeConfig))      # File containing jottings
target(for jot)       or (target in (SomeConfig, jot))  # Directory containing generated jot file
colors(for jot)       or (colors in (SomeConfig, jot))  # Toggles ansii colored output

Doug Tangren (softprops) 2011-12

Something went wrong with that request. Please try again.