spark-to-js

1.3.2 • Public • Published

spark-to-js

Search Template Generator. Convert Spark Templates to JS

On Windows

You'll need msbuild installed and in your path. Installing Visual Studio does this for you.

On a Mac/Linux

You'll need to install mono and xbuild to use this project.

Installing

Assuming you have the correct tools installed, you can install via npm:

npm install opentable/spark-to-js

Run the built executable on a Mac/Linux

mono node_modules/spark-to-js/bin/TemplateGenerator.exe

Run the built executable on Windows

node_modules/spark-to-js/bin/TemplateGenerator.exe PATH_TO_SPARK_VIEWS DESTINATION_PATH

Options

Optionally, you can pass the --newer flag, and only Spark templates that have been changed since the last instance will be built.

TemplateGenerator.exe PATH_TO_SPARK_VIEWS DESTINATION_PATH --newer

/spark-to-js/

    Package Sidebar

    Install

    npm i spark-to-js

    Weekly Downloads

    2

    Version

    1.3.2

    License

    none

    Last publish

    Collaborators

    • duereg