Skip to content

Commit

Permalink
Generate samples during bootstrap (github-linguist#6131)
Browse files Browse the repository at this point in the history
* Generate samples during bootstrap

* This isn't needed as the rake does it
  • Loading branch information
lildude authored Oct 20, 2022
1 parent 2a01204 commit 35159ee
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
8 changes: 0 additions & 8 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,6 @@ cd linguist/
script/bootstrap
```

To run Linguist from the cloned repository, you will need to generate the code samples first:

```bash
bundle exec rake samples
```

Run this command each time a [sample][samples] has been modified.

To run Linguist from the cloned repository:

```bash
Expand Down
4 changes: 4 additions & 0 deletions script/bootstrap
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ bundle config --local path vendor/gems

bundle check > /dev/null 2>&1 || bundle install

echo "==> Initialising submodules…"
git submodule init
git submodule sync --quiet
script/fast-submodule-update

echo "==> Generating samples…"
bundle exec rake samples > /dev/null 2>&1

0 comments on commit 35159ee

Please sign in to comment.