Skip to content

Commit 56aa167

Browse files
committed
Fix yaml and move task implementation into sub-directory
Having custom taks in dedicated directories might be the more common approach
1 parent e74b8b3 commit 56aa167

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

rfcs/0004-simple-build-extensibility.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,10 @@ type: task
6666
metadata:
6767
name: generateMarkdownFiles
6868
task:
69-
path: generateMarkdownFiles.js
69+
path: lib/tasks/generateMarkdownFiles.js
7070
```
7171

72-
**`generateMarkdownFiles.js`**:
72+
**`lib/tasks/generateMarkdownFiles.js`**:
7373
```js
7474
const markdownGenerator = require("./markdownGenerator");
7575
@@ -105,14 +105,14 @@ builder:
105105
afterTask: uglify
106106
configuration:
107107
color: blue
108-
----
108+
---
109109
specVersion: "0.1"
110110
kind: extension
111111
type: task
112112
metadata:
113113
name: generateMarkdownFiles
114114
task:
115-
path: generateMarkdownFiles.js
115+
path: lib/tasks/generateMarkdownFiles.js
116116
```
117117

118118
In this case the extension is no dependency of any kind but automatically collected and processed with the processing of the project.

0 commit comments

Comments
 (0)