Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

T/36 - Tools for project related task #40

Merged
merged 45 commits into from
Nov 30, 2015
Merged

T/36 - Tools for project related task #40

merged 45 commits into from
Nov 30, 2015

Conversation

szymonkups
Copy link
Contributor

Added grunt tasks:

  • dev-init - initialize development workspace
  • dev-status - printing Git status of repositories in dev workspace
  • dev-update - updating repositories in dev workspace
  • dev-plugin-create - create new plugin
  • dev-plugin-install - install plugin
  • dev-boilerplate-update - update boilerplate project

module.exports = ( grunt ) => {
const packageJSON = grunt.config.data.pkg;

grunt.registerTask( 'dev-init', function() {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use arrow fn.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm using grunt async() and options() methods that are available in function's scope.

name: 'pluginName',
message: 'Enter plugin name without ' + DEFAULT_PLUGIN_NAME_PREFIX + ' prefix:',
validate: ( input ) => {
var regexp = /^[a-zA-Z0-9-_]+$/;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds like /[\w-]+$/.

@szymonkups szymonkups mentioned this pull request Nov 16, 2015
9 tasks
@Reinmar
Copy link
Member

Reinmar commented Nov 30, 2015

Reinmar added a commit that referenced this pull request Nov 30, 2015
T/36 - Tools for project related task.
@Reinmar Reinmar merged commit 433b734 into master Nov 30, 2015
@Reinmar Reinmar deleted the t/36 branch November 30, 2015 09:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants