Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file.
14 changes: 14 additions & 0 deletions lib/tasks/project_components/blank_html_starter/project_config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
NAME: 'Blank HTML & CSS Starter'
IDENTIFIER: 'blank-html-starter'
TYPE: 'html'
COMPONENTS:
- name: 'index'
extension: 'html'
location: 'index.html'
index: 0
default: true
- name: 'styles'
extension: 'css'
location: styles.css
index: 1
default: false
Empty file.
3 changes: 2 additions & 1 deletion lib/tasks/projects.rake
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ end

def find_project(proj_config)
if Project.find_by(identifier: proj_config['IDENTIFIER']).nil?
project = Project.new(identifier: proj_config['IDENTIFIER'], name: proj_config['NAME'])
project = Project.new(identifier: proj_config['IDENTIFIER'], name: proj_config['NAME'],
project_type: proj_config['TYPE'] ||= 'python')
else
project = Project.find_by(identifier: proj_config['IDENTIFIER'])
project.name = proj_config['NAME']
Expand Down