Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

A Bash script to automate Lift tasks

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 bin
Octocat-spinner-32 README.textile
Octocat-spinner-32 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.