如何使用Bower作为软件包管理器来获得Less v.2.0.0的Rhino版本 [英] How to get the Rhino edition of Less v.2.0.0 using bower as a package manager

查看:99
本文介绍了如何使用Bower作为软件包管理器来获得Less v.2.0.0的Rhino版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用less.js的Rhino版本,并使用Bower提取到我的开发环境中.

I'm using the Rhino edition of less.js, extracted to my devlopment environment using bower.

在1.7.5版本下,一切工作正常,bower将获得所有不同的版本,Node和Rhino版本都将存储在我的环境中.

Under 1.7.5 everything worked fine, bower would get all the different editions, both Node and Rhino editions would be stored in my environment.

随着对2.0.0的最新更新,似乎只包括Node版本.有什么方法可以使Bower提取Rhino版本?

With the recent update to 2.0.0 it would seem that only the Node versions are included. Is there some way to get bower to extract the Rhino edition?

我当然可以手动下载它,但随后我将不得不手动维护该参考.跟踪新版本是使用包管理器的主要原因之一.

I can of-course download it manually, but then I would have to manually maintain that reference. Keeping track of new versions is one of my main reasons for using a package manager.

推荐答案

@ steve-eynon写道:

@steve-eynon wrote:

GitHub版本[2.x中的Rhino支持](GitHub版本Rhino支持 2.x中的版本表明不支持2.x版本的Rhino ... :()提示Rhino不支持2.x版本... :(

The GitHub Issue [Rhino Support in 2.x](The GitHub Issue Rhino Support in 2.x suggests that there is no Rhino support for the 2.x versions... :( ) suggests that there is no Rhino support for the 2.x versions... :(

因此,当前您也无法通过Bower更新less.js的Rhino版本.

So currently you can't update the Rhino version of less.js with bower too.

根据 http://github.com/Deraen/boot-less/issues /4 ,您应该可以使用 http://github.com/SomMeri/less4j没有犀牛.并且根据 http://github.com/less/less.js /issues/2322#issuecomment-65631343 v2.1应该是可与Rhino一起使用的最新版本.

according to http://github.com/Deraen/boot-less/issues/4 you should be able to use http://github.com/SomMeri/less4j without Rhino. And according to http://github.com/less/less.js/issues/2322#issuecomment-65631343 v2.1 should be the latest version working with Rhino.

这篇关于如何使用Bower作为软件包管理器来获得Less v.2.0.0的Rhino版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆