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

Fixes #1448, Fix cli and pkg options #3071

Merged
merged 2 commits into from
Mar 27, 2016
Merged

Fixes #1448, Fix cli and pkg options #3071

merged 2 commits into from
Mar 27, 2016

Conversation

jfdm
Copy link
Contributor

@jfdm jfdm commented Mar 27, 2016

When building packages a preapproved command line options (if
specified) will be merged into the options list generated from the
iPKG file. The allowed options are placed at the head of the options
list such that they. The allowed options are:

  • Logging levels and categories
  • Default total, default partial
  • Warn partial
  • Warn reach
  • Location of IBC subdir
  • Location of import dir.

Idris also reports an error if invalid command lines options are
specified when used to override package specified options. This error
message detaisl the offending flag.

@jfdm jfdm changed the title Fix cli and pkg options Fixes #1448, #499: Fix cli and pkg options Mar 27, 2016
@jfdm
Copy link
Contributor Author

jfdm commented Mar 27, 2016

i may want to rewrite that commit message before it gets merged...

@jfdm
Copy link
Contributor Author

jfdm commented Mar 27, 2016

So this failed due to the options merging code not taking into account the codegen option. I will fix this later tonight, or later this week.

Fixes #1448, #499.

When building idris packages only preapproved command line options (if
specified) will be merged into the options list from the iPKG file.
These allowed options are placed at the head of the options
list.

The allowed options are:

+ Logging levels and categories
+ Default total, default partial
+ Warn partial
+ Warn reach
+ Location of IBC subdir
+ Location of import dir.

Idris also reports an error if non-approved options are
specified. This error message details the offending flags.
@jfdm jfdm changed the title Fixes #1448, #499: Fix cli and pkg options Fixes #1448, Fix cli and pkg options Mar 27, 2016
@jfdm jfdm merged commit ba53b91 into idris-lang:master Mar 27, 2016
@jfdm jfdm deleted the fix-cli-and-pkg-options branch March 27, 2016 21:33
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