0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00

Deleted deprecated Grunt commands

- these have been deprecated and undocumented for a long time so we can
  now clear them up as `yarn main` and `yarn test ...` are the official
  ways to do the same thing
This commit is contained in:
Daniel Lockyer 2022-07-19 08:38:02 +02:00
parent 48194ff444
commit 578b405afc
No known key found for this signature in database
GPG key ID: D21186F0B47295AD

View file

@ -27,15 +27,6 @@ module.exports = function (grunt) {
grunt.registerTask('build', 'Build admin app in development mode',
['subgrunt:init', 'clean:tmp', 'ember']);
// Helpers for common deprecated tasks
grunt.registerTask('main', function () {
grunt.log.error('@deprecated: Run `yarn main` instead');
});
grunt.registerTask('validate', function () {
grunt.log.error('@deprecated: Run `yarn test` instead');
});
// Runs the asset generation tasks for production and duplicates default-prod.html to default.html
grunt.registerTask('release', 'Release task - creates a final built zip', ['clean:built', 'prod', 'copy:admin_html']);