forked from openlayers/openlayers
-
Notifications
You must be signed in to change notification settings - Fork 0
Build Tools Specs
elemoine edited this page Oct 18, 2012
·
2 revisions
This page is a draft for specs for OL3 Build Tools. OL3 will be a big library, so it is crucial to provide efficient and convenient tools for creating custom builds.
- We provide both a CLI and a BUI.
- They are compatible, and complementary.
- CLI input is a "build profile".
- CLI output is a "build".
- A "build profile" is a file declaring the OL3 code to add to the "build".
- A "build" is a file including compiled OL3 code.
- BUI is basically a form including checkboxes. One checkbox per component.
- BUI output is a build profile, or a zip including js file + css file + build profile.
- Note: producing a build profile does not require a dynamic site. Producing a zip does.
- BUI may also take a build profile on input (Drag & Drop). Only makes sense when a zip is to be created.