Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This serves three purposes:
- Allows people to build based on having both files instead of relying on packaging of d.o.
- Allows for people to include references to libraries / code bases currently not passing the white-list without an annoying README.txt telling them to download other stuff
- Lets us remove the checkbox for "local development" as this is the method of developing locally as a core is defined in this file while original make file is referenced as an include
An example proposed structure follows which gets twitter bootstrap and a distro and places them in the correct locations:
; CLE Local development file
core = "7.x"
api = "2"
; include the d.o. profile base
includes[] = "drupal-org.make"
projects[drupal][version] = "7.x"
; Libraries
libraries[fitvids][directory_name] = "fitvids"
libraries[fitvids][type] = "library"
libraries[fitvids][destination] = "libraries"
libraries[fitvids][download][type] = "get"
libraries[fitvids][download][url] = "https://raw.github.com/davatron5000/FitVids.js/master/jquery.fitvids.js"
libraries[oauth][directory_name] = "oauth"
libraries[oauth][type] = "library"
libraries[oauth][destination] = "libraries"
libraries[oauth][download][type] = "get"
libraries[oauth][download][url] = "https://github.com/juampy72/OAuth-PHP/archive/master.zip"
libraries[bootstrap][directory_name] = "bootstrap"
libraries[bootstrap][type] = "library"
libraries[bootstrap][destination] = "themes/contrib/bootstrap"
libraries[bootstrap][download][type] = "get"
libraries[bootstrap][download][url] = "http://twitter.github.com/bootstrap/assets/bootstrap.zip"
; setup install profile
libraries[cle][directory_name] = "cle"
libraries[cle][type] = "profile"
libraries[cle][destination] = "../../profiles"
libraries[cle][download][type] = "get"
libraries[cle][download][url] = "http://ftp.drupal.org/files/projects/cle-7.x-1.x-dev.tar.gz"
libraries[profiler][directory_name] = "profiler"
libraries[profiler][type] = "library"
libraries[profiler][destination] = "../../profiles/cle/libraries"
libraries[profiler][download][type] = "get"
libraries[profiler][download][url] = "http://ftp.drupal.org/files/projects/profiler-7.x-2.x-dev.tar.gz"
Comments
Comment #1
btopro CreditAttribution: btopro commentedin dev now