Skip to content

Commit 8852182

Browse files
committed
update readme
1 parent a78465c commit 8852182

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,3 @@ RUN bundle install
1818
COPY . .
1919

2020
CMD ["bundle", "exec", "rubocop"]
21-
#CMD bundle exec rubocop && bundle exec rspec

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,5 +69,14 @@ end
6969
```
7070
Make sure that your files are correct JSON files.
7171
Look at [the raw files](https://github.com/loadkpi/crawler_detect/tree/master/lib/crawler_detect/library/raw) which are used by default for more information.
72+
73+
## Development
74+
75+
You can run `rubocop` \ `rspec` with any ruby version using docker like this:
76+
```bash
77+
docker build --build-arg RUBY_VERSION=3.3 --build-arg BUNDLER_VERSION=2.5 -t crawler_detect:3.3 .
78+
docker run -it crawler_detect:3.3 bundle exec rspec
79+
```
80+
7281
## License
7382
MIT License

0 commit comments

Comments
 (0)