Skip to:
Content

BuddyPress.org

Changeset 11036


Ignore:
Timestamp:
08/24/2016 04:24:53 PM (3 years ago)
Author:
djpaul
Message:

Move composer.json to root and update Grunt.

Basic Composer support was added in v2.2, enabling distribution of BuddyPress via Packagist.
As we had no plans to use any developer-facing features of Composer, the config file was placed into the /src/ subfolder (i.e. the root folder of the distribution version of BuddyPress) to simplify our release build process.

Moving the Composer config file into the root of the development version of the plugin, while copying it back into place for the distribution version, smooths the way towards enabling us to use Composer to install development-only libraries.

This may help us maintain a high-quality codebase. An example tickets where Composer is being considered for use as a development aid is #7228.

Location:
trunk
Files:
1 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/.gitignore

    r9144 r11036  
    1616results
    1717src/vendor
     18vendor
    1819
    1920node_modules
  • trunk/.travis.yml

    r11002 r11036  
    77language: php
    88
    9 #cache:
    10 #  apt: true
    11 #  directories:
     9cache:
     10  directories:
     11    - $HOME/.composer/cache
    1212#    - /tmp/wordpress/src/wp-content/plugins/buddypress/node_modules
    1313
  • trunk/Gruntfile.js

    r11001 r11036  
    174174                        expand: true,
    175175                        src: ['**', '!**/.{svn,git}/**'].concat( BP_EXCLUDED_MISC )
     176                    },
     177                    {
     178                        dest: BUILD_DIR,
     179                        dot: true,
     180                        expand: true,
     181                        src: ['composer.json']
    176182                    }
    177183                ]
Note: See TracChangeset for help on using the changeset viewer.