Skip to content

Commit

Permalink
Integrated Bldr
Browse files Browse the repository at this point in the history
  • Loading branch information
wouterj committed Jul 24, 2014
1 parent ff96b70 commit 5ffb54b
Show file tree
Hide file tree
Showing 2 changed files with 63 additions and 0 deletions.
60 changes: 60 additions & 0 deletions .bldr.yml
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:
3 changes: 3 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
"require": {
"sculpin/sculpin": "dev-master"
},
"require-dev": {
"bldr-io/bldr": "dev-master"
},
"minimum-stability": "dev",
"autoload": {
"psr-4": {"WouterJ\\": "app/src"}
Expand Down

0 comments on commit 5ffb54b

Please sign in to comment.