strongself / Generamba

This codegenerator is too brilliant to be real!
MIT License
1.82k stars 183 forks source link

Файлы в корне модуля #147

Closed DaskiOFF closed 8 years ago

DaskiOFF commented 8 years ago

В файловой системе сгенерированные файлы расположены правильно для версий 1.0.0 и 1.1.0 image

Различается дерево файлов в xсode версия 1.0.0 image

версия 1.1.0 image

Beniamiiin commented 8 years ago

@DaskiOFF покажи, пожалуйста, rambafile. И еще, при выполнении команды generamba gen MODULE_NAME TEMPLATE_NAME использовал ли ты какие-нибудь опции?

DaskiOFF commented 8 years ago

Никаких опций не использовал Команда generamba gen LeftMenuBottomBlock view_swift_viper_lp

rambafile

### Headers settings
company: cmp

### Xcode project settings
project_name: LoyaltyPlant
prefix: ""
xcodeproj_path: LoyaltyPlant.xcodeproj

### Code generation settings section
# The main project target name
project_target: LoyaltyPlant

# The file path for new modules
project_file_path: LoyaltyPlant/Modules

# The Xcode group path to new modules
project_group_path: LoyaltyPlant/Modules

### Dependencies settings section
podfile_path: Podfile

### Templates
templates:
- {name: 'rviper_controller'}

rambaspec

# Template information section
name: "view_swift_viper_lp"
summary: "Swift VIPER module template with UIView playing as a View."
author: "Roman Kotov"
version: "0.1.0"
license: "MIT"

# The declarations for code files

code_files:
# View layer
- {name: View.swift, path: Code/view.swift.liquid}

# Presenter layer
- {name: Presenter.swift, path: Code/presenter.swift.liquid}
- {name: State.swift, path: Code/state.swift.liquid}

# Interactor layer
- {name: Interactor.swift, path: Code/interactor.swift.liquid}

# Router layer
- {name: Router.swift, path: Code/router.swift.liquid}

# Configurator
- {name: Assembly.swift, path: Code/assembly.swift.liquid}

# Style
- {name: Styles/Style.swift, path: Code/Styles/style.swift.liquid}

# Data
- {name: Data/Data.swift, path: Code/Data/data.swift.liquid}
- {name: Data/Styles.swift, path: Code/Data/styles.swift.liquid}
- {name: Data/Objects.swift, path: Code/Data/objects.swift.liquid}
- {name: Data/Params.swift, path: Code/Data/params.swift.liquid}
Beniamiiin commented 8 years ago

Спасибо, сейчас гляну.