-
Notifications
You must be signed in to change notification settings - Fork 0
/
SwiftyViperReduxService.rambaspec
40 lines (33 loc) · 1.58 KB
/
SwiftyViperReduxService.rambaspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Template information section
name: "SwiftyViperReduxService"
summary: "Swift VIPER Service based on ViperServices module and using Redux concept"
author: "Siarhei Ladzeika"
version: "2.0.0"
license: "MIT"
# The declarations for code files
code_files:
# Declaration
- {name: Service.swift, path: Code/Service/redux.swift.liquid}
# Implementation
- {name: ServiceImpl.swift, path: Code/Service/redux_impl.swift.liquid}
# Helpers{% if custom_parameters.redux_service_observable %}
- {name: Helpers/ServiceStateStoreSubscriber.swift, path: Code/Service/helpers/redux.state.subscriber.swift.liquid}
{% endif %}
- {name: Helpers/ServiceState.swift, path: Code/Service/helpers/redux.state.swift.liquid}
# Reducers
- {name: Reducers/ServiceStateTopReducer.swift, path: Code/Service/reducers/redux.swift.liquid}{% if custom_parameters.redux_service_generate_state_vars_getters %}
{% if custom_parameters.redux_service_state_vars %}
- {name: Reducers/ServiceStateVarsReducer.swift, path: Code/Service/reducers/redux.vars.swift.liquid}
{% endif %}
{% endif %}
# Actions
- {name: Actions/ServiceDefaultAction.swift, path: Code/Service/actions/redux.swift.liquid}
{% if custom_parameters.redux_service_generate_state_vars_getters or custom_parameters.redux_service_generate_state_vars_setters %}
{% if custom_parameters.redux_service_state_vars %}
- {name: Actions/ServiceVarsActions.swift, path: Code/Service/actions/redux.vars.swift.liquid}
{% endif %}
{% endif %}
# The declarations for test files
test_files:
# tests
- {name: ServiceTests.swift, path: Tests/Service/redux_tests.swift.liquid}