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
generate css with travis #229
Conversation
Eventually this could work. We will see...
Issue #220 |
This don't need a extra script for minify css
Now lektor detects if the file is local available. If it is, it will use it. If not, it will use the remote file and linking to the local font folders, because not every browser will accept the remote fonts that easy on localhost.
I already searched the function to check if a file exists locally but could not find it glad you found one :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
love it :)
just tested the new description and lektor clear does not work for me
ah already though the lektor clear is wrong :) |
lektor does not trigger a new build only if a file like main.min.css suddenly appear or dissappear. It need a manual trigger like deleting the cache or modify the templeates. make will now delete the cache.
Should be fixed with 9cf1b86, we will see what travis will say! |
I am happy about this too. |
well we only need to check for assets anyways |
* generate css with travis Eventually this could work. We will see... * sassc -> sass * Travis need sudo * use ruby-sass * Use sass -t compress This don't need a extra script for minify css * delete old python script * make deployment optional * prepare travis switch to show this is live system * new method including the css Now lektor detects if the file is local available. If it is, it will use it. If not, it will use the remote file and linking to the local font folders, because not every browser will accept the remote fonts that easy on localhost. * Expand sass explaination * improve lektor locale css config lektor does not trigger a new build only if a file like main.min.css suddenly appear or dissappear. It need a manual trigger like deleting the cache or modify the templeates. make will now delete the cache.
Eventually this could work. We will see...
The script from @ottojo probably won't generate css.