File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -45,7 +45,9 @@ version = "0.1.0"
4545[build]
4646entry = "app/root.fx"
4747output = ".forge/dist"
48- "# , args. name) ;
48+ "# ,
49+ args. name
50+ ) ;
4951 fs:: write ( base_path. join ( "forge.toml" ) , forge_toml_content) ?;
5052
5153 // Write app/root.fx
@@ -78,13 +80,19 @@ export default [
7880 return <h1>Welcome to Forge!</h1>;
7981}
8082"# ;
81- fs:: write ( base_path. join ( "app" ) . join ( "pages" ) . join ( "Home.fx" ) , home_fx_content) ?;
83+ fs:: write (
84+ base_path. join ( "app" ) . join ( "pages" ) . join ( "Home.fx" ) ,
85+ home_fx_content,
86+ ) ?;
8287
8388 // Write schema.fx
8489 fs:: write ( base_path. join ( "schema.fx" ) , "// Empty database schema\n " ) ?;
8590
8691 // Write foundry.lock
87- fs:: write ( base_path. join ( "foundry.lock" ) , "# foundry.lock — generated by forge, do not edit manually\n " ) ?;
92+ fs:: write (
93+ base_path. join ( "foundry.lock" ) ,
94+ "# foundry.lock — generated by forge, do not edit manually\n " ,
95+ ) ?;
8896
8997 crate :: output:: success ( & format ! (
9098 "Created {} — run `cd {} && forge dev` to start" ,
You can’t perform that action at this time.
0 commit comments