mirror of
https://github.com/ONLYOFFICE/document-server-integration.git
synced 2026-02-10 18:05:10 +08:00
ruby: use bundler configuration instead of flags
This commit is contained in:
1
web/documentserver-example/ruby/.gitignore
vendored
1
web/documentserver-example/ruby/.gitignore
vendored
@ -1,3 +1,4 @@
|
||||
.bundle
|
||||
bin
|
||||
db
|
||||
log
|
||||
|
||||
@ -22,6 +22,8 @@ help: # Show help message for each of the Makefile recipes.
|
||||
awk 'BEGIN {FS = ": # "}; {printf "%s: %s\n", $$1, $$2}'
|
||||
|
||||
.PHONY: dev
|
||||
dev: \
|
||||
export BUNDLE_WITH := development:doc:test
|
||||
dev: # Install development dependencies and initialize the project.
|
||||
@bundle install
|
||||
@bundle exec rake app:update:bin
|
||||
@ -30,8 +32,10 @@ ifeq ($(SORBET_SUPPORTED),1)
|
||||
endif
|
||||
|
||||
.PHONY: prod
|
||||
prod: \
|
||||
export BUNDLE_WITHOUT := development:doc:test
|
||||
prod: # Install production dependencies.
|
||||
@bundle install --without development doc test
|
||||
@bundle install
|
||||
@bundle exec rake app:update:bin
|
||||
|
||||
.PHONY: server-dev
|
||||
|
||||
Reference in New Issue
Block a user