Add composer scripts
This commit is contained in:
parent
1c23d4afda
commit
ee3087fb60
|
@ -5,7 +5,7 @@ A skeleton project for the [Sculpin][1] static site generator.
|
|||
## Usage
|
||||
|
||||
1. Download the project by running `composer create-project opdavies/sculpin-skeleton --stability dev my-sculpin-site`.
|
||||
1. Run `vendor/bin/sculpin generate --server --watch` to generate and serve the site.
|
||||
1. Run `composer run dev` to generate and serve the site.
|
||||
1. Start adding content to `source/index.md`.
|
||||
|
||||
## Notes
|
||||
|
|
|
@ -12,5 +12,9 @@
|
|||
"require": {
|
||||
"dflydev/embedded-composer": "^1.0@dev",
|
||||
"sculpin/sculpin": "^2.1@dev"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "sculpin generate --server --watch --clean --no-interaction",
|
||||
"prod": "sculpin generate --env prod --clean --no-interaction"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue