class Fez::Application

Defined in:

fez/application.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(application_name : String) #

[View source]

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


[View source]

Instance Method Detail

def add_initial_app_file #

This generates a src/#{@name}.cr


[View source]
def add_initial_spec_file #

This generates a spec/#{@name}_spec.cr


[View source]
def add_project_files #

Get all the project files to be added, and compile them from ECR templates


[View source]
def add_project_folders #

Create all of the project folders


[View source]
def add_view_files #

Create the views for an inital project


[View source]
def api_only : Bool #

[View source]
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


[View source]
def directory : String #

[View source]
def engine : String #

[View source]
def name : String #

[View source]