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)
|
project <- prompt $ \s -> all validPN s && not (null s)
|
||||||
let dir = project
|
let dir = project
|
||||||
|
|
||||||
puts $(codegenDir "input" "site-arg")
|
let sitearg = "App"
|
||||||
let isUpperAZ c = 'A' <= c && c <= 'Z'
|
|
||||||
sitearg <- prompt $ \s -> not (null s) && all validPN s && isUpperAZ (head s) && s /= "Main"
|
|
||||||
|
|
||||||
puts $(codegenDir "input" "database")
|
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
|
Michael
|
||||||
foobar
|
foobar
|
||||||
Foobar
|
|
||||||
mysql
|
mysql
|
||||||
|
|||||||
@ -1,4 +1,3 @@
|
|||||||
Michael
|
Michael
|
||||||
foobar
|
foobar
|
||||||
Foobar
|
|
||||||
p
|
p
|
||||||
|
|||||||
@ -1,4 +1,3 @@
|
|||||||
Michael
|
Michael
|
||||||
foobar
|
foobar
|
||||||
Foobar
|
|
||||||
s
|
s
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user