Skip to content

Commit aecd8b8

Browse files
committed
Rename 6to5 to babel.
1 parent d6be7d1 commit aecd8b8

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

docs/compilers.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ To use it add this to your ``PIPELINE_COMPILERS`` ::
147147
ES6 compiler
148148
============
149149

150-
The ES6 compiler uses `6to5 <https://6to5.org>`_
150+
The ES6 compiler uses `Babel <https://babeljs.io>`_
151151
to convert ES6+ code into vanilla ES5.
152152

153153
To use it add this to your ``PIPELINE_COMPILERS`` ::
@@ -157,18 +157,18 @@ To use it add this to your ``PIPELINE_COMPILERS`` ::
157157
)
158158

159159

160-
``PIPELINE_6TO5_BINARY``
160+
``PIPELINE_BABEL_BINARY``
161161
--------------------------
162162

163-
Command line to execute for 6to5 program.
164-
You will most likely change this to the location of 6to5 on your system.
163+
Command line to execute for babel program.
164+
You will most likely change this to the location of babel on your system.
165165

166-
Defaults to ``'/usr/bin/env 6to5'``.
166+
Defaults to ``'/usr/bin/env babel'``.
167167

168-
``PIPELINE_6TO5_ARGUMENTS``
168+
``PIPELINE_BABEL_ARGUMENTS``
169169
-----------------------------
170170

171-
Additional arguments to use when 6to5 is called.
171+
Additional arguments to use when babel is called.
172172

173173
Defaults to ``''``.
174174

pipeline/compilers/es6.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ def compile_file(self, infile, outfile, outdated=False, force=False):
1414
if not outdated and not force:
1515
return # File doesn't need to be recompiled
1616
command = "%s %s %s -o %s" % (
17-
settings.PIPELINE_6TO5_BINARY,
18-
settings.PIPELINE_6TO5_ARGUMENTS,
17+
settings.PIPELINE_BABEL_BINARY,
18+
settings.PIPELINE_BABEL_ARGUMENTS,
1919
infile,
2020
outfile
2121
)

pipeline/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@
4848
'PIPELINE_COFFEE_SCRIPT_BINARY': '/usr/bin/env coffee',
4949
'PIPELINE_COFFEE_SCRIPT_ARGUMENTS': '',
5050

51-
'PIPELINE_6TO5_BINARY': '/usr/bin/env 6to5',
52-
'PIPELINE_6TO5_ARGUMENTS': '',
51+
'PIPELINE_BABEL_BINARY': '/usr/bin/env babel',
52+
'PIPELINE_BABEL_ARGUMENTS': '',
5353

5454
'PIPELINE_LIVE_SCRIPT_BINARY': '/usr/bin/env lsc',
5555
'PIPELINE_LIVE_SCRIPT_ARGUMENTS': '',

0 commit comments

Comments
 (0)