-
-
Notifications
You must be signed in to change notification settings - Fork 755
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
V2 use npm #1782
V2 use npm #1782
Conversation
Well, I changed a whole lot of things here. The only problem that's left is how to install assets only on one build on Travis. |
@@ -16,10 +16,10 @@ function retrievePercent(id) { | |||
if (!supportsLocalStorage()) { return false; } | |||
|
|||
var bheight = $(document).height(); | |||
var percent = localStorage["poche.article." + id + ".percent"]; | |||
var percent = localStorage["wallabag.article." + id + ".percent"]; |
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.
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.
I got rid of nostalgia. :)
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.
😢
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::prepareDeploymentTarget", | ||
"npm install", | ||
"bower install", | ||
"grunt" |
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.
This won't allow us to use a separate build on travis to run asset install.
Don't you started something with a .sh file to handle that ?
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.
Yeah, but it didn't got me anyway. It launched an extra build for travis instead of using an existing 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.
This could still be a good idea. Look at how I've managed to check for CS & for translated file in one extra build. I prefer one more build instead of all builds taking more than 7 minutes to run ..
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.
Thing is, we want to install assets by default for the end-user. So the environment parameter should tell my script not to run in some cases.
What it does :
require()
app/Ressources/static
_global
.What doesn't work :