You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a way to easily rebuild the .js files for mercury from the coffeescript files without using rails? I wasn't sure if rails was a requirement or not. I have tried to compile vendor/assets/javascripts/mercury using coffeescript but got many errors.
The text was updated successfully, but these errors were encountered:
Yup, there's a rake task in the project. You should be able to clone or fork it, set up the project with your standard rvm/bundler setup, and then build it..
rake mercury:build
Then you can take the files in /public and use them as your static (or static and minified) javascripts and css.
It's setup that way so that if you want to make changes, you can test them (with the javascript specs that are included) and then either vender that as your gem, or build and import js / css files manually into your project.
Is there a way to easily rebuild the .js files for mercury from the coffeescript files without using rails? I wasn't sure if rails was a requirement or not. I have tried to compile vendor/assets/javascripts/mercury using coffeescript but got many errors.
Reply to this email directly or view it on GitHub: #208
To be clear Mercury is built using the Rails / Sprockets asset pipeline. So, it is difficult to build it without that. But, as Jeremy stated it can be built and used outside of rails.
Is there a way to easily rebuild the .js files for mercury from the coffeescript files without using rails? I wasn't sure if rails was a requirement or not. I have tried to compile
vendor/assets/javascripts/mercury
using coffeescript but got many errors.The text was updated successfully, but these errors were encountered: