Created
August 22, 2018 02:47
-
-
Save laurence-myers/b36b0337a0e13e262a4076af63a66d4b to your computer and use it in GitHub Desktop.
Bulk decaffeinate batch script for Windows
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FOR /f "delims=" %%i IN ('npm bin') DO SET DECAF=%%i | |
SET DECAF="%DECAF%\decaffeinate" | |
echo %decaf% | |
cd app | |
for /R %%f in (*.coffee) do ( | |
echo "%%f" | |
%decaf% %%f | |
) | |
cd .. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment