Skip to content

Commit ccee809

Browse files
authored
Merge pull request #3252 from matthew-dean/bugfix-remove-rhino
Removes `less-rhino` (broken for a long time) - Fixes #3241
2 parents 85e64ce + 9caa77e commit ccee809

19 files changed

+2
-1381
lines changed

.gitattributes

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ lessc text eol=lf
44
*.less text eol=lf
55
*.css text eol=lf
66
*.htm text eol=lf
7-
gradlew.bat text eol=crlf
87
*.html text eol=lf
98
*.jpg binary
109
*.png binary

.gitignore

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,4 @@ test/sourcemaps/*.css
2020
test/less-bom
2121

2222
# grunt
23-
.grunt
24-
25-
# gradle
26-
.gradle
27-
out
23+
.grunt

.npmignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,3 @@ test/
66
# re-include test files as they can be useful for plugins that do testing
77
!test/*.js
88
tmp/
9-
gradle/

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
## 3.5.3
22

33
2018-07-06
4-
- Reverts @media eval change
4+
- Reverts `@media` eval change
55
- Other bug fixes
66

77
## 3.5.0

Gruntfile.js

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -154,8 +154,6 @@ module.exports = function (grunt) {
154154
// Project configuration.
155155
grunt.initConfig({
156156

157-
// Metadata required for build.
158-
build: grunt.file.readYAML('build/build.yml'),
159157
pkg: grunt.file.readJSON('package.json'),
160158
meta: {
161159
copyright: 'Copyright (c) 2009-<%= grunt.template.today("yyyy") %>',
@@ -228,24 +226,6 @@ module.exports = function (grunt) {
228226
dist: {
229227
src: '<%= browserify.browser.dest %>',
230228
dest: 'dist/less.js'
231-
},
232-
// Rhino
233-
rhino: {
234-
options: {
235-
banner: '/* Less.js v<%= pkg.version %> RHINO | <%= meta.copyright %>, <%= pkg.author.name %> <<%= pkg.author.email %>> */\n\n',
236-
footer: '' // override task-level footer
237-
},
238-
src: ['<%= build.rhino %>'],
239-
dest: 'dist/less-rhino.js'
240-
},
241-
// lessc for Rhino
242-
rhinolessc: {
243-
options: {
244-
banner: '/* Less.js v<%= pkg.version %> RHINO | <%= meta.copyright %>, <%= pkg.author.name %> <<%= pkg.author.email %>> */\n\n',
245-
footer: '' // override task-level footer
246-
},
247-
src: ['<%= build.rhinolessc %>'],
248-
dest: 'dist/lessc-rhino.js'
249229
}
250230
},
251231

@@ -472,13 +452,6 @@ module.exports = function (grunt) {
472452
'uglify:dist'
473453
]);
474454

475-
// Release Rhino Version (UNSUPPORTED)
476-
grunt.registerTask('rhino', [
477-
'browserify:rhino',
478-
'concat:rhino',
479-
'concat:rhinolessc'
480-
]);
481-
482455
// Create the browser version of less.js
483456
grunt.registerTask('browsertest-lessjs', [
484457
'browserify:browser',

bower.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,13 @@
55
"**/.*",
66
"benchmark",
77
"bin",
8-
"build",
9-
"gradle",
108
"lib",
119
"test",
1210
"*.md",
1311
"LICENSE",
1412
"Gruntfile.js",
1513
"*.json",
1614
"*.yml",
17-
"build.gradle",
18-
"gradlew",
19-
"gradlew.bat",
2015
".gitattributes",
2116
".jshintrc",
2217
".npmignore"

0 commit comments

Comments
 (0)