Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A Bash script to automate Lift tasks
Shell
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
bin
README.textile
build.xml

README.textile

Lift Scripts

This is my first foray into Lift and I thought that the command to generate a project was pretty long:

mvn archetype:generate -U                                   \
  -DarchetypeGroupId=net.liftweb                            \
  -DarchetypeArtifactId=lift-archetype-basic                \
  -DarchetypeVersion=1.0                                    \
  -DremoteRepositories=http://scala-tools.org/repo-releases \
  -DgroupId=$GROUP_ID                                       \
  -DartifactId=$ARTIFACT_ID                                 \
  -Dversion=1.0-SNAPSHOT

What do programmers do? Automate!

$ lift gen com.mycompany twitter

I also have shortcuts for starting Jetty and running the tests:

$ lift start
$ lift test

These two are pretty minor, but this could be the beginning of something.

Installation

The code comes packaged into it’s own entity. To install on your machine:

$ git clone git://github.com/francois/lift-scripts.git
$ cd lift-scripts
$ ant install

The install task will symlink all binaries from bin/ to your ~/bin, minus the .sh extension.

License

This code is placed in the public domain.

Something went wrong with that request. Please try again.