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

✨ Generating files in different directories #444

Merged
merged 1 commit into from
Jun 19, 2023

Conversation

techouse
Copy link
Collaborator

@techouse techouse commented Jun 18, 2023

Give the user the option for generating files in different directories, just as described here.

Example of a build.yml that will put *.chopper.dart files in a custom lib/generated directory

targets:
  $default:
    builders:
      chopper_generator:
        options:
          build_extensions:
            '^lib/{{}}.dart': 'lib/generated/{{}}.chopper.dart'

Addresses #443

@techouse techouse added the enhancement New feature or request label Jun 18, 2023
@techouse techouse requested a review from JEuler as a code owner June 18, 2023 20:40
@techouse techouse assigned techouse and unassigned JEuler Jun 18, 2023
@codecov
Copy link

codecov bot commented Jun 18, 2023

Codecov Report

Merging #444 (dbd2577) into develop (1f8c596) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop     #444   +/-   ##
========================================
  Coverage    93.80%   93.80%           
========================================
  Files            8        8           
  Lines          452      452           
========================================
  Hits           424      424           
  Misses          28       28           

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@techouse techouse assigned JEuler and unassigned techouse Jun 18, 2023
@techouse techouse changed the title ✨ add option to put generated files into a separate directory ✨ add build.yml option to put generated files into a separate directory Jun 18, 2023
@techouse techouse changed the title ✨ add build.yml option to put generated files into a separate directory ✨ Generating files in different directories Jun 19, 2023
@JEuler
Copy link
Collaborator

JEuler commented Jun 19, 2023

Very cool!

@techouse techouse merged commit 917a463 into lejard-h:develop Jun 19, 2023
@techouse techouse deleted the feat/issue-443-build-extensions branch June 19, 2023 15:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants