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

Improve separation of build targets for specific types of projects #80

Open
raamdev opened this issue Apr 11, 2016 · 2 comments
Open

Improve separation of build targets for specific types of projects #80

raamdev opened this issue Apr 11, 2016 · 2 comments

Comments

@raamdev
Copy link
Contributor

raamdev commented Apr 11, 2016

Forking from discussion in #76 (comment).

We need to think about the intended use for each of the projects where we use Phing and group them according to similarities in the steps necessary to produce a public release. Then we need to design our build targets to apply to those types of projects. Here's a grouping that comes to mind:

  • WordPress plugins/themes
  • WebSharks libraries

With that in mind, we could have build targets with names like -build-wp, -build-all-wp, -build-lib, -build-all-lib, etc.

We've come a long way with our Phing build system without hitting a divergence point (which came up in #76, but was later resolved by a change in the Comet Cache project).

The "Cleanups" classification @jaswsinc mentioned, referring to the new -js-css target, makes it clear that some projects will need to generate a .~build/ directory, make some changes to its content, and then package that directory for distribution. (Currently packaging happens before .~build/ is populated and the packages are sourced from the repo directory, not the .~build/ directory.)

So we should create -build-wp and -build-lib targets, and let those contain collections of other targets that apply to the appropriate project type.

@jaswrks
Copy link
Contributor

jaswrks commented Apr 14, 2016

Some (some) progress on this in: #83

@jaswrks
Copy link
Contributor

jaswrks commented Apr 16, 2016

Some progress on this in https://github.com/websharks/phings/releases/tag/160416

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants