Skip to content

Commit

Permalink
0.3.0 post release updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Nathan Hamblen committed Jun 21, 2011
1 parent f35632b commit 3c90957
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 10 deletions.
43 changes: 36 additions & 7 deletions README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -30,22 +30,51 @@ launch configurations, e.g. `~/bin/cs`
Installation
------------

There are two methods of installiation available.

### Linux, Mac, Windows

Download the [conscript runnable jar][jar]. On most OSes you can run
it by double-clicking, but if that doesn't work you can also run it
from the command line.

java -jar conscript-0.3.0.jar

[jar]: https://github.com/downloads/n8han/conscript/conscript-0.3.0.jar

After that you'll have `cs` or `cs.bat` (depending on your OS) in a
`bin` directory under your home directory. It is up to you to get that
onto your executable search path, if it is not already.

### Linux, Mac

If you prefer, you can install conscript by piping this shell script.

curl https://raw.github.com/n8han/conscript/master/setup.sh | sh

You'll probably want to add `~/bin` to your `$PATH`, if it's not
already there.

Use
---

The only command currently is install/update, initiated by calling
conscript with the name of a github project. This installs the
The main thing you do with conscript is install/update and update
commands based on templates. Templates are stored in github projects,
which you pass into the `cs` commpand. For example, this installs the
[giter8](https://github.com/n8han/giter8) templating system:

cs n8han/giter8

If at some point your conscript boot directory contains stale
artifacts such as snapshot releases, you can clean it:
Templates specify a version of the app to use, but you can override
that by specifying an explicit version with another slash:

cs n8han/giter8/0.2.1

Project owners may also decide to push pre-release or other alternate
templates to different branches on github. Use can tell conscript read
templates from another branch with the `--branch` or `-b` option.

cs n8han/giter8 --branch staging

And lastly, if at some point your conscript boot directory contains
stale/suspect artifacts such as snapshot releases, you can clean it:

cs --clean-boot

Expand Down
5 changes: 3 additions & 2 deletions setup.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,13 @@ java -jar $CS/sbt-launch.jar @$CLC \"\$@\"" > $HOME/bin/cs

chmod a+x $HOME/bin/cs

LJ=sbt-launch-0.7.7.jar
LJV=0.10.0
LJ="sbt-launch-$LJV.jar"
if [ ! -f $CS/$LJ ]; then
echo "
Fetching launcher...
"
curl "https://simple-build-tool.googlecode.com/files/$LJ" \
curl "http://typesafe.artifactoryonline.com/typesafe/ivy-releases/org.scala-tools.sbt/sbt-launch/$LJV/sbt-launch.jar" \
> $CS/$LJ
ln -sf $CS/$LJ $CS/sbt-launch.jar
fi
Expand Down
2 changes: 1 addition & 1 deletion src/main/conscript/cs/launchconfig
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[app]
version: 0.2.2
version: 0.3.0
org: net.databinder
name: conscript
class: conscript.Conscript
Expand Down

0 comments on commit 3c90957

Please sign in to comment.