francois / lift-scripts
- Source
- Commits
- Network (1)
- Issues (0)
- Downloads (0)
- Wiki (1)
- Graphs
-
Branch:
master
| name | age | message | |
|---|---|---|---|
| |
README.textile | ||
| |
bin/ | ||
| |
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.

