Skip to content

Commit

Permalink
Merge pull request pcottle#580 from jankeromnes/patch-1
Browse files Browse the repository at this point in the history
Use `yarn grunt` instead of the global `grunt`
  • Loading branch information
pcottle authored May 9, 2019
2 parents 02a8e0f + e879213 commit 724a341
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .gitpod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 724a341

Please sign in to comment.