Skip to content

Commit

Permalink
re #1: Project definition now starting with capital letter (file and …
Browse files Browse the repository at this point in the history
…class).
  • Loading branch information
Heiko Seeberger authored and paulp committed Feb 14, 2011
1 parent dc7b028 commit 91f89bb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/sbt-setup
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ if [ -z "$PROJECT" ]; then
fi

DIR=$(echo ${PROJECT} | tr '[A-Z]' '[a-z]')
PROJECT_CLASS=$(echo $PROJECT | sed -e 's/[^a-zA-Z_]//g;')Project
PROJECT_UC=$(echo ${PROJECT:0:1} | tr '[a-z]' '[A-Z]')${PROJECT:1}
PROJECT_CLASS=$(echo $PROJECT_UC | sed -e 's/[^a-zA-Z_]//g;')Project

mkdir $DIR
cd $DIR
Expand Down

0 comments on commit 91f89bb

Please sign in to comment.