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

Exclude option #64

Open
sidati opened this issue Apr 7, 2016 · 8 comments
Open

Exclude option #64

sidati opened this issue Apr 7, 2016 · 8 comments

Comments

@sidati
Copy link

sidati commented Apr 7, 2016

Hi again,
Can you please provide the exclude option for files such as reset.css and stye.rtl.css, because using the CLI command you will get :
style.css => style.rtl.css

and if you execute it a second time, it will generate :

style.css => style.rtl.css
style.rtl.css => style.rtl.rtl.css

P.S. I'm using a windows batch file instead of grunt/gulp.

@MohammadYounes
Copy link
Owner

Hi,

The CLI is set for a complete review, for the time being, the simplest solution would be to set the destination to a different folder rtlcss -d .\src .\dist-rtl

Thanks!

@MohammadYounes
Copy link
Owner

May be -x, -exclude flag to exclude files having the same output extension ?

@sidati
Copy link
Author

sidati commented Apr 7, 2016

yes, this is the idea.

@sidati
Copy link
Author

sidati commented Apr 7, 2016

Or just replace the xxx.rtl.css by default and let the -x option for excluding files list

@MohammadYounes
Copy link
Owner

Output files having the same name will be overwritten by default, The -x option would exclude processing any file having the output extension which has a default of .rtl.css

@nivedita-peddiraju
Copy link

nivedita-peddiraju commented Oct 15, 2018

We are using an Ember addon, which uses rtlcss.process() internally to do the conversion to RTL. We would like to exclude certain vendor files such as bootstrap files from the RTL conversion process(The vendor files automatically display in rtl format when dir='rtl') . Is there any way to do this?

@MohammadYounes
Copy link
Owner

@nive297 As you don't have control over the vendor files, You should consult with the Ember addon author on how to exclude certain files.

Thanks!

Frenzie added a commit to Frenzie/FreshRSS that referenced this issue Mar 25, 2020
* Add RTL for Alternative-Dark, cf. FreshRSS#2811
* Update RTL for base/Origine
* Also include a `*.rtl.rtl.css` deletion in `make rtl` to work around MohammadYounes/rtlcss#64
Alkarex pushed a commit to FreshRSS/FreshRSS that referenced this issue Mar 25, 2020
* Update RTL CSS files

* Add RTL for Alternative-Dark, cf. #2811
* Update RTL for base/Origine
* Also include a `*.rtl.rtl.css` deletion in `make rtl` to work around MohammadYounes/rtlcss#64

* forgot to commit Makefile
@MahdiMajidzadeh
Copy link

👍🏻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants