Skip to content

Commit

Permalink
Simplify composer plugin : only the current platform will be downloaded.
Browse files Browse the repository at this point in the history
  • Loading branch information
veewee committed Jan 3, 2025
1 parent 3953b78 commit 4f510be
Show file tree
Hide file tree
Showing 8 changed files with 285 additions and 247 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,13 @@ jobs:
if: matrix.rust == 'stable' && matrix.os == 'ubuntu-latest'
run: cargo build --workspace --release --locked --all-targets

- name: Install PHP
if: matrix.rust == 'stable' && matrix.os == 'ubuntu-latest'
uses: shivammathur/setup-php@master
with:
php-version: "8.3"
tools: 'composer:v2'

- name: Install composer dependencies
if: matrix.rust == 'stable' && matrix.os == 'ubuntu-latest'
run: composer install
Expand Down
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
"name": "carthage-software/mago",
"description": "Mago is a toolchain for PHP that aims to provide a set of tools to help developers write better code.",
"type": "composer-plugin",
"license": "MIT",
"license": "MIT OR Apache-2.0",
"keywords": ["dev"],
"bin": [
"composer/bin/mago"
],
Expand Down
154 changes: 0 additions & 154 deletions composer/InstallMagoAssetsCommand.php

This file was deleted.

Loading

0 comments on commit 4f510be

Please sign in to comment.