No commit activity in last 3 years
No release in over 3 years
PureScript adapter for the Rails asset pipeline.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Development

>= 4.0
 Project Readme

Purescript::Rails

Purescript adapter for the Rails asset pipeline.

Installation

This gem requires the PureScript compiler be available in your $PATH. You can find out how to install the PureScript compiler at http://docs.purescript.org/en/latest/start.html#compiler-installation

The PureScript compiler requires the Haskell package manager "cabal" be installed. It comes with the Haskell compiler GHC which is available at http://www.haskell.org/haskellwiki/Haskell

Add this line to your application's Gemfile:

gem 'purescript-rails'

And then execute:

$ bundle

Or install it yourself as:

$ gem install purescript-rails

Usage

To compile a PureScript file with the asset pipeline, add the file to the compile path and name like "my_script.js.purs".