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

Support ignored directories with genstrings.py #15

Closed
nuudles opened this issue Dec 9, 2015 · 3 comments
Closed

Support ignored directories with genstrings.py #15

nuudles opened this issue Dec 9, 2015 · 3 comments

Comments

@nuudles
Copy link

nuudles commented Dec 9, 2015

Running genstrings.py currently searches all directories, including Examples in the Carthage Checkouts folder. For instance, I get this output:

/*
 * ./Carthage/Checkouts/Localize-Swift/examples/LanguageSwitch/Sample/ViewController.swift
 */

"Hello world" = "Hello world";

"Change" = "Change";

"Reset" = "Reset";

It would be helpful to have an --ignore option to ignore certain directories.

@marmelroy
Copy link
Owner

Sorry for the delay @nuudles. Spent some time thinking about this and I actually want to rewrite the genstrings script in Swift. I'll make sure to add an ignore option.

@emilpedersen
Copy link

+1

@marmelroy
Copy link
Owner

I just added a new genstrings script written entirely in Swift that supports ignored directories and ignored filenames. You can edit the file to specify your own 3ec6c27

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

No branches or pull requests

3 participants