Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[broccoli-eyeglass] Add a task to build examples with the current code.
- Loading branch information
1 parent
84139ba
commit 5e0b959
Showing
6 changed files
with
48 additions
and
795 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
test | ||
lib | ||
src/types | ||
examples |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,4 @@ node_modules | |
.DS_Store | ||
tmp | ||
lib | ||
examples/*/dist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,8 @@ | ||
var BroccoliEyeglass = require("broccoli-eyeglass"); | ||
|
||
var options = { | ||
cssDir: "css" /* This is the only required option */, | ||
}; | ||
|
||
var outputTree = new BroccoliEyeglass(["src"], options); | ||
var outputTree = new BroccoliEyeglass("src", { | ||
cssDir: "css" /* This is the only required option */, | ||
}); | ||
|
||
module.exports = outputTree; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,9 @@ | ||
var BroccoliEyeglass = require("broccoli-eyeglass"); | ||
|
||
var options = { | ||
var outputTree = new BroccoliEyeglass("src", { | ||
cssDir: "stylesheets", | ||
discover: false, // Don't automatically find & convert sass files in the trees | ||
sourceFiles: ["master.scss"], // Array of files (or glob string) to compile | ||
}; | ||
|
||
var outputTree = new BroccoliEyeglass(["src"], options); | ||
}); | ||
|
||
module.exports = outputTree; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.