Quellcode durchsuchen

Removed 'install' dependency, using 'mv' instead.

tags/v0.34.0
Ross Perkins vor 9 Jahren
Ursprung
Commit
a652f89398
1 geänderte Dateien mit 8 neuen und 8 gelöschten Zeilen
  1. +8
    -8
      php/composer.sls

+ 8
- 8
php/composer.sls Datei anzeigen

@@ -12,6 +12,13 @@ get-composer:
- require:
- pkg: php

install-composer:
cmd.wait:
- name: mv {{ php.temp_dir }}/composer.phar {{ install_file }}
- cwd: {{ php.temp_dir }}
- watch:
- cmd: get-composer

# Get COMPOSER_DEV_WARNING_TIME from the installed composer, and if that time has passed
# then it's time to run `composer selfupdate`
#
@@ -24,11 +31,4 @@ update-composer:
- unless: test $(grep --text COMPOSER_DEV_WARNING_TIME {{ install_file }} | egrep '^\s*define' | sed -e 's,[^[:digit:]],,g') \> $(php -r 'echo time();')
- cwd: {{ php.temp_dir }}
- require:
- cmd: get-composer

install-composer:
cmd.wait:
- name: install -m 0755 {{ php.temp_dir }}/composer.phar {{ install_file }}
- cwd: {{ php.temp_dir }}
- watch:
- cmd: get-composer
- cmd: install-composer

Laden…
Abbrechen
Speichern