class Fez::Application
- Fez::Application
- Reference
- Object
Defined in:
fez/application.crConstructors
Class Method Summary
-
.valid_name?(project_name)
A valid project name should start with a letter.
Instance Method Summary
-
#add_initial_app_file
This generates a src/#{@name}.cr
-
#add_initial_spec_file
This generates a spec/#{@name}_spec.cr
-
#add_project_files
Get all the project files to be added, and compile them from ECR templates
-
#add_project_folders
Create all of the project folders
-
#add_view_files
Create the views for an inital project
- #api_only : Bool
-
#build_directory(directory_name : String)
The directory will be the location plus the app name.
- #directory : String
- #engine : String
- #name : String
Constructor Detail
Class Method Detail
def self.valid_name?(project_name)
#
A valid project name should start with a letter. This will also ensure later if we need to generate a class or module, we can
Instance Method Detail
def build_directory(directory_name : String)
#
The directory will be the location plus the app name. If this folder exists, raise an error so we don't erase it