-
Notifications
You must be signed in to change notification settings - Fork 9
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
Individual files are not generated #4
Comments
In short, here is what each of the above commands does:
As for: Aren't the scripts suppose to create individual .svg files from all of the icon sets? it's actually the opposite. This project takes the individual 24x24 svg icons from Google's Material Design Icon repo: https://github.com/google/material-design-icons and creates ~12 iconsets which the Material Design IconProvider uses. Once you run the above 3 commands, the If that's NOT the case, I'd say there's an issue with GIT on your system. These are the commands I'm running to populate the mkdir material-design-icons;
cd material-design-icons;
git init;
git config core.sparsecheckout true;
echo "*/svg/production/*_24px.svg" >> .git/info/sparse-checkout;
git remote add -f origin git://github.com/google/material-design-icons.git;
git pull origin master; See if you can just run those commands (from any folder on your system) and if the 'material-design-icons' folder is still empty. If it is, then it's something system specific affecting you. Also, although you can always build the icons using the Let me know if you continue to have issues/questions...otherwise I'll close this issue. |
Doesn't work for me either. |
Have you tried running this set of commands standalone: mkdir material-design-icons;
cd material-design-icons;
git init;
git config core.sparsecheckout true;
echo "*/svg/production/*_24px.svg" >> .git/info/sparse-checkout;
git remote add -f origin git://github.com/google/material-design-icons.git;
git pull origin master; |
@sincraianul I believe this is an issue due to running git in powershell/cmd on Windows. Please see: http://stackoverflow.com/a/23289007 Try running the above in a Git Bash prompt and see if that helps. Or manually edit the sparse-checkout file to make sure: Important: Be sure to use a git bash prompt and use an editor supporting unix line-ending conventions and save as ANSI when editing the sparse-checkout file Let me know how that goes... |
|
Yep, same output. I think I'll be ditching Windows for *nix soon. sum1 plz buy me a mac ☆⌒(>。≪) |
So you've verified that Just visually inspecting it, especially on Windows, will not show you these things. You're using a Git Bash prompt? |
Tried Git Bash, same issue. I fiddled around with the file. It had two of these: http://apps.timwhitlock.info/unicode/inspect?s=%EF%BF%BD at the beginning of it. Deleted them and now it works fine. |
The init tasks (or at least the shell commands inside I'll investigate this problem. |
If you can run the above code block, you don't need to do All Instead, create a directory "google" and inside that run: git init;
git config core.sparsecheckout true;
echo "*/svg/production/*_24px.svg" >> .git/info/sparse-checkout;
git remote add -f origin git://github.com/google/material-design-icons.git; Then, make a directory called "community" and inside that run: git init;
git config core.sparsecheckout true;
echo "*/svg/production/*_24px.svg" >> .git/info/sparse-checkout;
git remote add -f origin git://github.com/Templarian/MaterialDesign.git; Make sure both Then you should be able to run I'm not sure why, but clearly on Windows, running the By running the above manually, you should be able to get to the point where you can successfully run |
Yeah, |
Yup, it worked. Thank you! The problem lies in those pesky |
Managed to fix the gulp task with It's a temporary fix, but it works. :) |
Hmm...so I will look to see if I can switch it to I'm assuming you just changed it from |
Yeah, and separated the commands like such: execSync('git init');
execSync('git config core.sparsecheckout true');
execSync('echo "*/svg/production/*_24px.svg" >> .git/info/sparse-checkout');
execSync('git remote add -f origin ' + ORIGIN_GOOGLE); |
Also, you could just replace the command separator from |
I have tried to run the commands on the repo:
npm install
npm run init
npm run build
The result is an empty "material-design-icons" folder. There are no errors.
This is on a Windows computer.
Aren't the scripts suppose to create individual .svg files from all of the icon sets?
The text was updated successfully, but these errors were encountered: