Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
language: scala
jdk:
- oraclejdk8
cache:
directories:
- "$HOME/.ivy2/cache"
- "$HOME/.sbt"
script:
- sbt +test +package
after_success:
- "./travis-publish.sh"
env:
global:
- secure: KNM333WCsxMe69trZvUMy5rMhzm2s2aiaNWwfKcjtBR2efcLr2DgpICmXspWM5OmF8Pl3Aol1y01bbVZ2DBPyxp3b55rJ+QZ8ZEgrflZGk0T4icAJRJHyX7dCOIGwgQG/WiC084NZun+D0hoNhwvohwO4bjy44i2VeeOv6tezVQ=
- secure: HT5iEWCCoqRsMc5iw6Wdl55DCUlj+FcZ5k4oTtXMPty7BMJf4nOKmYJkXPJcj4GtBwgavOoRPxgI1CjSbsORoQtNEsAc9x0Mp2onJLU7NwSiRvfww0lS019k+6LZZg7DBCSn3ylnQRMAaeDhk3Vpc3Vu3T5C6SZxrpjzjQHMcVo=
29 changes: 16 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,23 @@ Provides:
* uploadprogress


To include this module in your Lift project, update your `libraryDependencies` in `build.sbt` to include:
To include this module in your Lift project, add the following to `build.sbt`:

*Lift 2.6.x* for Scala 2.9 and 2.10:
libraryDependencies += "net.liftmodules" %% "widgets_3.0" % "1.4.0"

"net.liftmodules" %% "widgets_2.6" % "1.3"
Releases
========

*Lift 2.5.x* for Scala 2.9 and 2.10:
| Lift Version | Scala Version | Module Version |
|--------------|---------------|----------------|
| 3.0.x | 2.12, 2.11 | 1.4.0 |
| 2.6.x | 2.10, 2.9 | 1.3 |
| 2.5.x | 2.10, 2.9 | 1.3 |

"net.liftmodules" %% "widgets_2.5" % "1.3"
Historic Snapshots
------------------

*Lift 3.0.x* for Scala 2.10:
Lift 3.0.x for Scala 2.10:

"net.liftmodules" %% "widgets_3.0" % "1.3-SNAPSHOT"

Expand All @@ -45,13 +51,10 @@ General documentation and starting points:
**Note:** The module package changed from `net.liftweb.widgets` to `net.liftmodules.widgets` in May 2012. Please consider this when referencing documentation written before that date.




Autocomplete
------------

* _Lift Cookbook_ on [Making Suggestions with Autocomplete
](http://cookbook.liftweb.net/#Autocomplete).
* _Lift Cookbook_ on [Making Suggestions with Autocomplete](http://cookbook.liftweb.net/#Autocomplete).

* [Using Lift’s AutoComplete Widget](http://timperrett.com/2010/10/13/using-lifts-autocomplete-widget/), Timothy Perrett's blog, 13 October 2010.

Expand All @@ -64,7 +67,7 @@ Calendar
Flot
----

* [Lift Wiki page](https://www.assembla.com/wiki/show/liftweb/flot).
* [Lift Wiki page](https://www.assembla.com/wiki/show/liftweb/flot).

Gravatar
--------
Expand All @@ -86,7 +89,7 @@ RSS Widget
----------

* Exploring Lift, [chapter 14](http://exploring.liftweb.net/onepage/index.html#toc-Subsection-14.1.3).


Sparklines
----------
Expand All @@ -109,7 +112,7 @@ TreeView
Notes for module developers
===========================

* The [Jenkins build](https://liftmodules.ci.cloudbees.com/job/widgets/) is triggered on a push to master.
Merge to master will trigger a Travis build and publish a SNAPSHOT (if the version is a -SNAPSHOT).



Expand Down
10 changes: 10 additions & 0 deletions travis-publish.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/bash

# Automatically publish snapshots for branches pushed to master.

if [[ "${TRAVIS_PULL_REQUEST}" == "false" &&
"${TRAVIS_BRANCH}" == "master" &&
$(cat build.sbt) =~ "-SNAPSHOT"
]]; then
sbt +publish
fi