forked from GustavoFernandes/order-splitter
-
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.
Deploy to other remotes more easily (GustavoFernandes#16)
* Tweak gh-deploy code to facilitate other deploy targets * Add some packages... yarn add --dev yargs yarn add --dev inquirer yarn add --dev gulp-sequence * Add prompt and cmd-line arg to deploy to custom remote * Only prompt when deploying to official site * Little fixes * Move flag check closer to entry point * Update readme
- Loading branch information
1 parent
8a82a79
commit 160a568
Showing
4 changed files
with
329 additions
and
27 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,9 +1,8 @@ | ||
# gulp tasks | ||
|
||
| Task | Description | | ||
| ----------------- | -------------------------------------------------------------------------------------------------------- | | ||
| `gulp` | Builds to `dist/`. | | ||
| `gulp serve` | Serves from `src/`. Automatically reloads browsers when you modify soruce. | | ||
| `gulp serve-dist` | Builds and serves from `dist/`. Automatically re-builds and reloads browsers whenever you modify source. | | ||
| `gulp gh-deploy` | Builds and deploys `dist/` to `origin/gh-pages`. | | ||
| `gulp lint` | Check for bad code. | | ||
| Task | Description | | ||
| ----------------- | -------------------------------------------------------------------------------------------------------- | | ||
| `gulp` | Builds to `dist/`. | | ||
| `gulp serve` | Builds and serves from `dist/`. Automatically re-builds and reloads browsers whenever you modify source. | | ||
| `gulp gh-deploy` | Requires a `--remoteUrl="https://...git"` flag. Builds and deploys to the `gh-pages` branch of that remote. | | ||
| `gulp lint` | Check for bad code. | |
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
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.