-
Notifications
You must be signed in to change notification settings - Fork 21
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
Run command on Gulp? #18
Comments
Hi! |
Yeah I think that's the issue. |
In any case, I manage to run the script using gulp-shell by playing a bit with the quotes here and there: gulp.task('shell', shell.task([
"static-i18n -l en -i en -i es --fileFormat yml --allowHtml true www"
])); But... for some reason, it seems to create different results than when executing exactly the same command on the terminal (or running it from a #!/bin/bash
static-i18n -l en -i en -i es --fileFormat yml --allowHtml true www It seems as if gulp-shell is also using an older version of node-static-i18n totally ignoring the latest changes. Same as gulp-static-i18n-html. <p>
texto aqui
Whatever here
</p> Instead of the following, created when running the exact same command on the console: <p data-t-interpolate="">
texto aqui
<div>Whatever here</div>
</p> when using the following original file: <p data-t data-t-interpolate>
{{text here}}
<div>Whatever here</div>
</p> |
Is there a way to run the command on gulp without using the gulp plugin?
I had a few issues with the plugin and it seems not to be using the global
static-i18n
module anyways.I tried the gulp-shell module but I never managed to run my script, not quite sure why:
static-i18n -l en -i en -i es --fileFormat yml --allowHtml --i18n "{\"keyseparator\": \"::\"}" www
The text was updated successfully, but these errors were encountered: