You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/index.rst
+8-10Lines changed: 8 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ Welcome to Bldr's documentation!
4
4
Bldr, in the simplest terms, is a task runner, and an awesome one at that. It was written with simpler configs in mind. If you are used to build systems,
5
5
you've probably seen some pretty complicated build files, and they were probably written in xml that is clunky and a pain to maintain.
6
6
7
-
Well, here's one written for Bldr using yaml (json is also supported):
7
+
Well, here's one written for Bldr using yaml (json and php are also supported):
8
8
9
9
**This is a sample configuration. Your project may not have the dependencies required to run this configuration.**
10
10
@@ -17,18 +17,19 @@ Well, here's one written for Bldr using yaml (json is also supported):
17
17
profiles:
18
18
default:
19
19
description: Development Profile
20
-
tasks:
20
+
jobs:
21
21
- prepare
22
22
- lint
23
23
- phpcs
24
24
- test
25
25
26
-
tasks:
26
+
jobs:
27
27
prepare:
28
28
description: Cleans up old builds and prepares the new one
29
-
calls:
29
+
tasks:
30
30
-
31
31
type: filesystem:remove
32
+
continue
32
33
files: [build/coverage, build/logs]
33
34
-
34
35
type: filesystem:mkdir
@@ -42,18 +43,17 @@ Well, here's one written for Bldr using yaml (json is also supported):
42
43
arguments: [install, --prefer-dist]
43
44
lint:
44
45
description: Lints the files of the project
45
-
calls:
46
+
tasks:
46
47
-
47
48
type: apply
48
-
failOnError: true
49
49
src:
50
50
- { path: [src, tests], files: *.php, recursive: true } # Checks src and tests directories for *.php files recursively
51
51
executable: php
52
52
arguments: [-l]
53
53
54
54
phpcs:
55
55
description: Runs the PHP Code Sniffer
56
-
calls:
56
+
tasks:
57
57
-
58
58
type: exec
59
59
executable: php
@@ -66,10 +66,9 @@ Well, here's one written for Bldr using yaml (json is also supported):
0 commit comments