Installation for S&D
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
264 B

2 years ago
  1. #!/usr/bin/env bash
  2. clear;
  3. if tty -s; then
  4. echo 'Running composer in interactive mode.'
  5. docker compose -p sandd exec website composer $@
  6. else
  7. echo 'Running composer in non-interactive mode.'
  8. docker compose -p sandd exec -T website composer $@
  9. fi