This repository was archived by the owner on Oct 13, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 43
Expand file tree
/
Copy pathcrossbow.yaml
More file actions
77 lines (64 loc) · 1.38 KB
/
crossbow.yaml
File metadata and controls
77 lines (64 loc) · 1.38 KB
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
watch:
default:
before:
- nodemon
- webpack-watch
"src/scss/**":
- "crossbow-sass --production"
"src/svg":
- "icons"
"src/crossbow":
- "crossbow"
tasks:
pre-release:
description: Run server+e2e tests to ensure a safe release
tasks:
- test
- test/protractor.sh
build-all:
description: Run all build tasks
runMode: 'parallel'
tasks:
- build-js
- build-css
build-js:
description: Create the Client-side Javascript bundle
tasks:
- webpack
build-css:
description: Create the minified CSS files
tasks:
- 'crossbow-sass --production'
test:
description: Run the build tasks + unit tests
tasks:
- build-all
- mocha
nodemon: >
@bg nodemon example.server.js
-w lib
-w public
-w static
-e css,js,html,svg
webpack-watch: >
@bg webpack -w
mocha: '@npm mocha --timeout 10000 test/server --recursive'
webpack: '@npm webpack'
options:
icons:
input: "src/svg/*.svg"
output: "public/img/icons"
crossbow-sass:
input: "src/scss/core.scss"
output: "public/css"
crossbow:
input:
- "src/crossbow/*.hbs"
- "src/crossbow/components/*.hbs"
- "src/crossbow/content/*.hbs"
output: "./static"
config:
config:
base: "src/crossbow"
data:
site: "file:_config.yml"