Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support calling composer scripts #81

Merged
merged 13 commits into from
Jun 29, 2020
Merged

Support calling composer scripts #81

merged 13 commits into from
Jun 29, 2020

Conversation

f3l1x
Copy link
Collaborator

@f3l1x f3l1x commented Jun 27, 2020

Calling composer scripts during build phase on Vercel is supported via script named vercel. You can easilly call php, npm or node.

{
  "require": { ... },
  "require-dev": { ... },
  "scripts": {
    "vercel": [
      "@php -v",
      "npm -v"
    ]
  }
}

@f3l1x f3l1x linked an issue Jun 27, 2020 that may be closed by this pull request
@f3l1x f3l1x added this to the v0.3.0 milestone Jun 27, 2020
@f3l1x f3l1x linked an issue Jun 27, 2020 that may be closed by this pull request
@kodiakhq kodiakhq bot merged commit 1a74a08 into master Jun 29, 2020
@kodiakhq kodiakhq bot deleted the feature/composer-scripts branch June 29, 2020 20:15
@f3l1x f3l1x mentioned this pull request Jul 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

accessing php as part of the build How to run just composer, with no PHP files (composer satis)
1 participant