Skip to content

Commit

Permalink
Prep publish
Browse files Browse the repository at this point in the history
  • Loading branch information
philcali committed Aug 4, 2012
1 parent ed8e34c commit 32c3e99
Show file tree
Hide file tree
Showing 3 changed files with 54 additions and 0 deletions.
36 changes: 36 additions & 0 deletions build.sbt
Expand Up @@ -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 := (
<url>https://github.com/philcali/spdf</url>
<licenses>
<license>
<name>The AGPL License</name>
<url>http://itextpdf.com/terms-of-use/agpl.php</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<url>git@github.com:philcali/spdf.git</url>
<connection>scm:git:git@github.com:philcali/spdf.git</connection>
</scm>
<developers>
<developer>
<id>philcali</id>
<name>Philip Cali</name>
<url>http://philcalicode.blogspot.com/</url>
</developer>
</developers>
)
6 changes: 6 additions & 0 deletions 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.
12 changes: 12 additions & 0 deletions 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

0 comments on commit 32c3e99

Please sign in to comment.