diff --git a/build.sbt b/build.sbt index f79284d..ec17f96 100644 --- a/build.sbt +++ b/build.sbt @@ -22,3 +22,39 @@ libraryDependencies <+= (sbtVersion) { v => v % "provided" } } + +publishTo <<= version { v => + val nexus = "https://oss.sonatype.org/" + if (v.trim.endsWith("SNAPSHOT")) + Some("snapshots" at nexus + "content/repositories/snapshots") + else + Some("releases" at nexus + "service/local/staging/deploy/maven2") +} + +publishMavenStyle := true + +publishArtifact in Test := false + +pomIncludeRepository := { x => false } + +pomExtra := ( + https://github.com/philcali/spdf + + + The AGPL License + http://itextpdf.com/terms-of-use/agpl.php + repo + + + + git@github.com:philcali/spdf.git + scm:git:git@github.com:philcali/spdf.git + + + + philcali + Philip Cali + http://philcalicode.blogspot.com/ + + +) diff --git a/notes/0.1.0.markdown b/notes/0.1.0.markdown new file mode 100644 index 0000000..335f6dd --- /dev/null +++ b/notes/0.1.0.markdown @@ -0,0 +1,6 @@ +- Initial release +- install with `cs philcali/spdf` +- `spdf -h` for explanation and example uses + +__Note__: The conscript installation will actually execute spdf, which waits +for stdin. You might need to kill the application with ^C, the first time. diff --git a/notes/about.markdown b/notes/about.markdown new file mode 100644 index 0000000..45b6349 --- /dev/null +++ b/notes/about.markdown @@ -0,0 +1,12 @@ +spdf is a command-line utility for quickly writing PDF's from URL's, html +files, or a mixture of both. + +spdf plays nice with other command-line utilities, meaning that piped input and +redirected output is both supported and encouraged. + +PDF conversion is done by using [iText][1] and [flyingsaucer][2]. More about +how to use the program can be found on [spdf's github][3]. + +[1]: http://itextpdf.com/itext.php +[2]: https://github.com/flyingsaucerproject/flyingsaucer#readme +[3]: https://github.com/philcali/spdf#readme