mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-08-31 07:09:58 +02:00
Merge pull request #580 from jankeromnes/patch-1
Use `yarn grunt` instead of the global `grunt`
This commit is contained in:
commit
724a341a61
2 changed files with 5 additions and 5 deletions
|
@ -2,8 +2,8 @@ ports:
|
|||
- port: 8000
|
||||
onOpen: open-preview
|
||||
tasks:
|
||||
- init: yarn install && yarn global add grunt-cli
|
||||
- init: yarn install
|
||||
command: >
|
||||
grunt fastBuild &&
|
||||
printf "\nWelcome to Learn Git Branching\nTo rebuild the app, simply run 'grunt fastBuild' and reload index.html.\n\n" &&
|
||||
yarn grunt fastBuild &&
|
||||
printf "\nWelcome to Learn Git Branching\nTo rebuild the app, simply run 'yarn grunt fastBuild' and reload index.html.\n\n" &&
|
||||
python3 -m http.server 8000 2>/dev/null
|
||||
|
|
|
@ -85,13 +85,13 @@ yarn install
|
|||
|
||||
git checkout -b newAwesomeFeature
|
||||
vim ./src/js/git/index.js # some changes
|
||||
grunt fastBuild # skips tests and linting, faster build
|
||||
yarn grunt fastBuild # skips tests and linting, faster build
|
||||
|
||||
# after building you can open up your browser to the index.html
|
||||
# file generated and see your changes
|
||||
|
||||
vim ./src/js/git/index.js # more changes
|
||||
grunt build # runs tests and lint
|
||||
yarn grunt build # runs tests and lint
|
||||
|
||||
git commit -am "My new sweet feature!"
|
||||
git push
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue