This repository has been archived by the owner on Oct 29, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathproject.yml
206 lines (174 loc) · 4.38 KB
/
project.yml
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
# ----------------------------------------------------------------------------------------------------------------------
# PROJECT CONFIGURATION
# ----------------------------------------------------------------------------------------------------------------------
# Yaml References:
+common:
- &code
'@meta': false
'@auto': true
tasks:
- typescript
- &website.copy
"scripts-lib/**/*.js": "assets/lib/"
"scripts-shim/**/*.js": "assets/shim/"
- &website.output
styles: "assets/styles"
images: "assets/images"
pages: "."
- &website.sources
- "styles/**/*.{scss,css}"
- "pages/**/*.{pug,html}"
- "images/**/*.{png,svg,webp,jpg,jpeg,icns,ico}"
- &website
'@meta': false
'@auto': true
tasks:
- typescript
- sass
- pug
- images
- copy
sources: *website.sources
copy:
<<: *website.copy
- &electron
<<: *website
'@build': manual
sources:
- *website.sources
- 'main.js'
output:
styles: '.'
copy:
<<: *website.copy
'package.json': '.'
- &meta
'@meta': true
exclude:
- '**/node_modules'
- '**/.tmp'
# ----------------------------------------------------------------------------------------------------------------------
# Modules:
# ----------------------------------------------------------------------------------------------------------------------
modules:
# .--------------.
# | META MODULES |
# .--------------.
repo:
<<: *meta
description: "Project repository."
sources:
- '.editorconfig'
- '.git{ignore,attributes}'
- 'project.json'
tasks:
- clean
docs:
<<: *meta
description: "Project documentation."
sources:
- './*.md'
- 'docs/**/*.md'
tools:
<<: *meta
description: "Project tooling."
sources:
- '.script/**/*'
- './package.json'
- './package-lock.json'
- './.prettierrc'
exclude:
- '*.{png,jpeg,jpg,svg}'
ci:
<<: *meta
description: "Project continuous integration."
sources:
- '.circle/**/*'
# .--------------.
# | CODE MODULES |
# .--------------.
types:
<<: *code
description: "Library: Common type definitions and classes."
wfw:
<<: *code
description: "Library: Website app framework."
isa:
<<: *code
description: "Library: Virtual machine instruction set architecture."
asm:
<<: *code
description: "Library: Assembler and disassembler."
sources:
- "docs/**/*.md"
vm:
<<: *code
description: "Module: Virtual machine."
chip-arch:
<<: *code
description: "CHIP-8: System architecture."
# .--------------.
# | WEB MODULES |
# .--------------.
web:
<<: *website
description: "Website: Template data and miscellaneous pages."
output:
<<: *website.output
pages: "."
copy:
<<: *website.copy
'./_headers': '.'
'./sitemap.xml': '.'
'./images/favicon.png': '.'
web-asm:
<<: *website
description: "Website: CHIP-8 assembler."
output:
<<: *website.output
pages: "assembler"
web-emu:
<<: *website
description: "Website: CHIP-8 emulator."
output:
<<: *website.output
pages: "emulator"
web-tools:
<<: *website
description: "Website: CHIP-8 tools."
output:
<<: *website.output
pages: "tools"
# .----------.
# | ELECTRON |
# .----------.
elec-emu:
<<: *electron
description: "Electron App: CHIP-8 emulator."
override:
babel: false
# .------.
# | ROMS |
# .------.
chip-roms:
description: "CHIP-8: Demonstration programs."
tasks: [copy, rom-db]
sources:
- '**/*.rom'
- '**/*.asm'
- '**/*.json'
copy:
'./*.rom': 'assets/rom/'
# ----------------------------------------------------------------------------------------------------------------------
# Task Aliases:
# ----------------------------------------------------------------------------------------------------------------------
tasks:
clean: "repo:clean"
# ----------------------------------------------------------------------------------------------------------------------
# Version:
# ----------------------------------------------------------------------------------------------------------------------
version: 1.4.2
license: MIT
copyright:
year: 2019
author: Team Chipotle