Skip to content

[FrameworkBundle] Add project directory default for installing assets #20642

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

Merged
merged 1 commit into from
Mar 22, 2017

Conversation

noahheck
Copy link
Contributor

@noahheck noahheck commented Nov 26, 2016

Q A
Branch? master
Bug fix? no
New feature? yes
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets #20337
License MIT
Doc PR

This allows the assets:install console command to have a fallback default of the project root directory.

Current behavior is to install assets only in the target of the current working directory.

@linaori
Copy link
Contributor

linaori commented Nov 26, 2016

Considering assets are static, the recommendation is to put them in the web-dir: http://symfony.com/doc/current/best_practices/web-assets.html

Edit; As this is a new feature, it should be aimed at the master

@nicolas-grekas nicolas-grekas added this to the 3.x milestone Dec 6, 2016
@nicolas-grekas
Copy link
Member

@noahheck can you please rebase on master + change base branch on github?

@nicolas-grekas nicolas-grekas added Feature and removed Bug labels Dec 6, 2016
@noahheck noahheck changed the base branch from 2.7 to master December 9, 2016 15:08
@fabpot
Copy link
Member

fabpot commented Mar 22, 2017

Thank you @noahheck.

@fabpot fabpot merged commit 7a11f3e into symfony:master Mar 22, 2017
fabpot added a commit that referenced this pull request Mar 22, 2017
…stalling assets (Noah Heck)

This PR was merged into the 3.3-dev branch.

Discussion
----------

[FrameworkBundle] Add project directory default for installing assets

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #20337
| License       | MIT
| Doc PR        |

This allows the `assets:install` console command to have a fallback default of the project root directory.

Current behavior is to install assets only in the `target` of the current working directory.

Commits
-------

7a11f3e [FrameworkBundle] Add project directory default for installing assets
@nicolas-grekas nicolas-grekas modified the milestones: 3.x, 3.3 Mar 24, 2017
@fabpot fabpot mentioned this pull request May 1, 2017
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.

5 participants