Skip to:
Content

BuddyPress.org

Changeset 13703


Ignore:
Timestamp:
01/20/2024 11:01:36 AM (2 years ago)
Author:
imath
Message:

Replace svn export usage in Gruntfile

Now GH is no more supporting SVN, we are using specific npm scripts to download & move external repositories where they need to be placed in the build directory generated during the build task.

See #9072 (trunk)
Closes https://github.com/buddypress/buddypress/pull/220

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Gruntfile.js

    r13652 r13703  
    329329        exec: {
    330330            cli: {
    331                 command: 'svn export --force https://github.com/buddypress/wp-cli-buddypress.git/tags/2.0.2 cli',
     331                command: 'npm run download:cli',
    332332                cwd: BUILD_DIR,
    333333                stdout: false
     
    338338            },
    339339            rest_api: {
    340                 command: 'svn export --force https://github.com/buddypress/BP-REST.git/trunk bp-rest',
     340                command: 'npm run download:rest',
    341341                cwd: BUILD_DIR,
    342342                stdout: false
  • trunk/package.json

    r13684 r13703  
    5555        "test-php:group": "npm run wp-env run phpunit 'php /var/www/html/wp-content/plugins/buddypress/vendor/phpunit/phpunit/phpunit -c /var/www/html/wp-content/plugins/buddypress/tests/phpunit/env.xml --group $npm_confi_g'",
    5656        "test-php-multisite": "npm run wp-env run phpunit 'php /var/www/html/wp-content/plugins/buddypress/vendor/phpunit/phpunit/phpunit -c /var/www/html/wp-content/plugins/buddypress/tests/phpunit/env.multisite.xml'",
    57         "test-php-multisite:group": "npm run wp-env run phpunit 'php /var/www/html/wp-content/plugins/buddypress/vendor/phpunit/phpunit/phpunit -c /var/www/html/wp-content/plugins/buddypress/tests/phpunit/env.multisite.xml --group $npm_confi_g'"
     57        "test-php-multisite:group": "npm run wp-env run phpunit 'php /var/www/html/wp-content/plugins/buddypress/vendor/phpunit/phpunit/phpunit -c /var/www/html/wp-content/plugins/buddypress/tests/phpunit/env.multisite.xml --group $npm_confi_g'",
     58        "download:cli": "curl -L -o 'cli-archive.zip' https://github.com/buddypress/wp-cli-buddypress/archive/2.0.2.zip && unzip -qq cli-archive.zip && mv wp-cli-buddypress-2.0.2 build/cli && rm cli-archive.zip",
     59        "download:rest": "curl -L -o 'rest-archive.zip' https://github.com/buddypress/BP-REST/archive/master.zip && unzip -qq rest-archive.zip && mv BP-REST-master build/bp-rest && rm rest-archive.zip"
    5860    },
    5961    "keywords": [
Note: See TracChangeset for help on using the changeset viewer.