Created
January 23, 2016 18:01
-
-
Save Muratam/d143b7c2dfeced691317 to your computer and use it in GitHub Desktop.
Run Haskell ,Ruby For VSCODE Runner
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
@echo off | |
if "%~dpnx1" equ "" goto :eof | |
cd "%~dp1" | |
setlocal | |
set tempfile=%date:~4%%time::=% | |
set tempfile=%tempfile:/=% | |
set tempfile=%tempfile:.=% | |
set tempfile=%tempfile: =% | |
ghc -o %tempfile%.exe --make "%~dpnx1" | |
%tempfile%.exe | |
del %tempfile%.exe | |
del %~n1.hi | |
del %~n1.o | |
endlocal |
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
@echo off | |
cd "%~dp1" | |
ruby "%~dpnx1" | |
cd C:\ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment