mirror of
https://github.com/ONLYOFFICE/document-server-integration.git
synced 2026-04-07 14:06:11 +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
|
bin
|
||||||
db
|
db
|
||||||
log
|
log
|
||||||
|
|||||||
@ -22,6 +22,8 @@ help: # Show help message for each of the Makefile recipes.
|
|||||||
awk 'BEGIN {FS = ": # "}; {printf "%s: %s\n", $$1, $$2}'
|
awk 'BEGIN {FS = ": # "}; {printf "%s: %s\n", $$1, $$2}'
|
||||||
|
|
||||||
.PHONY: dev
|
.PHONY: dev
|
||||||
|
dev: \
|
||||||
|
export BUNDLE_WITH := development:doc:test
|
||||||
dev: # Install development dependencies and initialize the project.
|
dev: # Install development dependencies and initialize the project.
|
||||||
@bundle install
|
@bundle install
|
||||||
@bundle exec rake app:update:bin
|
@bundle exec rake app:update:bin
|
||||||
@ -30,8 +32,10 @@ ifeq ($(SORBET_SUPPORTED),1)
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
.PHONY: prod
|
.PHONY: prod
|
||||||
|
prod: \
|
||||||
|
export BUNDLE_WITHOUT := development:doc:test
|
||||||
prod: # Install production dependencies.
|
prod: # Install production dependencies.
|
||||||
@bundle install --without development doc test
|
@bundle install
|
||||||
@bundle exec rake app:update:bin
|
@bundle exec rake app:update:bin
|
||||||
|
|
||||||
.PHONY: server-dev
|
.PHONY: server-dev
|
||||||
|
|||||||
Reference in New Issue
Block a user