Scaffolder: always use App as sitearg

This commit is contained in:
Michael Snoyman 2012-04-02 17:24:39 +03:00
parent 396644081c
commit fa1a03d420
5 changed files with 1 additions and 11 deletions

View File

@ -51,9 +51,7 @@ scaffold = do
project <- prompt $ \s -> all validPN s && not (null s)
let dir = project
puts $(codegenDir "input" "site-arg")
let isUpperAZ c = 'A' <= c && c <= 'Z'
sitearg <- prompt $ \s -> not (null s) && all validPN s && isUpperAZ (head s) && s /= "Main"
let sitearg = "App"
puts $(codegenDir "input" "database")

View File

@ -1,5 +0,0 @@
Great, we'll be creating ~project~ today, and placing it in ~dir~.
What's going to be the name of your foundation datatype? This name must
start with a capital letter.
Foundation:

View File

@ -1,4 +1,3 @@
Michael
foobar
Foobar
mysql

View File

@ -1,4 +1,3 @@
Michael
foobar
Foobar
p

View File

@ -1,4 +1,3 @@
Michael
foobar
Foobar
s