forked from wouterj/wouterj.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
63 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,60 @@ | ||
bldr: | ||
name: wouterj/site | ||
profiles: | ||
publish: | ||
description: Building and publishing the website | ||
tasks: | ||
- sass_generate | ||
- sculpin_generate | ||
#- publish | ||
watch: | ||
description: Executes the watch commands | ||
tasks: | ||
- sass_watch | ||
- sculpin_watch | ||
tasks: | ||
sass_generate: | ||
description: Creates the css file | ||
calls: | ||
- | ||
type: exec | ||
executable: sass | ||
arguments: | ||
- 'source/css/wouterj.scss:source/css/wouterj.css' | ||
- '--style' | ||
- 'compressed' | ||
- '--no-cache' | ||
|
||
sass_watch: | ||
description: Creates the css file and watches for changes | ||
calls: | ||
- | ||
type: background | ||
executable: sass | ||
arguments: | ||
- 'source/css/wouterj.scss:source/css/wouterj.css' | ||
- '--watch' | ||
|
||
sculpin_generate: | ||
description: Creates the static website using Sculpin | ||
calls: | ||
- | ||
type: exec | ||
executable: vendor/bin/sculpin | ||
arguments: | ||
- 'generate' | ||
- '--env' | ||
- 'prod' | ||
|
||
sculpin_watch: | ||
description: Creates the static website using Sculpin and watches for changes | ||
calls: | ||
- | ||
type: background | ||
executable: vendor/bin/sculpin | ||
arguments: | ||
- 'generate' | ||
- '--watch' | ||
- '--server' | ||
|
||
publish: |
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