Skip to content

Conversation

@mcg-web
Copy link
Contributor

@mcg-web mcg-web commented Nov 2, 2017

Now the generateClasses and generateClass accepts bitmask to do more complex work when generating classes:

  • MODE_WRITE create dirs and files only if not exists
  • MODE_OVERRIDE allow to override file if existing
  • MODE_MAPPING_ONLY returns the class mapping but nothing is generated
  • MODE_DRY_RUN play all the generate process but no dir or file are actually created
  • true is shortcut to MODE_WRITE|MODE_OVERRIDE
  • false is shortcut to MODE_WRITE (default)

@mcg-web mcg-web force-pushed the introduce_dry_run_mode branch from 1cedf38 to efd9b07 Compare November 2, 2017 14:08
@mcg-web mcg-web merged commit 7ee5852 into overblog:master Nov 2, 2017
@mcg-web mcg-web deleted the introduce_dry_run_mode branch November 2, 2017 14:57
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.

1 participant