Scaffolder: always use App as sitearg
This commit is contained in:
parent
396644081c
commit
fa1a03d420
@ -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")
|
||||
|
||||
|
||||
@ -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:
|
||||
@ -1,4 +1,3 @@
|
||||
Michael
|
||||
foobar
|
||||
Foobar
|
||||
mysql
|
||||
|
||||
@ -1,4 +1,3 @@
|
||||
Michael
|
||||
foobar
|
||||
Foobar
|
||||
p
|
||||
|
||||
@ -1,4 +1,3 @@
|
||||
Michael
|
||||
foobar
|
||||
Foobar
|
||||
s
|
||||
|
||||
Loading…
Reference in New Issue
Block a user