Commit 762b95bc authored by Cholgrrr's avatar Cholgrrr
Browse files

Merge branch 'New_Structure' of https://gitlab.com/Cholgrrr/m4labplatform into New_Structure

parents 613a2f33 a2e8cafb
...@@ -2,14 +2,11 @@ ...@@ -2,14 +2,11 @@
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in case `uname` in
*CYGWIN*) basedir=`cygpath -w "$basedir"`;; *CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
esac esac
if [ -x "$basedir/node" ]; then if [ -x "$basedir/node" ]; then
"$basedir/node" "$basedir/../errno/cli.js" "$@" exec "$basedir/node" "$basedir/../errno/cli.js" "$@"
ret=$?
else else
node "$basedir/../errno/cli.js" "$@" exec node "$basedir/../errno/cli.js" "$@"
ret=$?
fi fi
exit $ret
@IF EXIST "%~dp0\node.exe" ( @ECHO off
"%~dp0\node.exe" "%~dp0\..\errno\cli.js" %* GOTO start
) ELSE ( :find_dp0
@SETLOCAL SET dp0=%~dp0
@SET PATHEXT=%PATHEXT:;.JS;=;% EXIT /b
node "%~dp0\..\errno\cli.js" %* :start
) SETLOCAL
\ No newline at end of file CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\errno\cli.js" %*
...@@ -2,14 +2,11 @@ ...@@ -2,14 +2,11 @@
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in case `uname` in
*CYGWIN*) basedir=`cygpath -w "$basedir"`;; *CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
esac esac
if [ -x "$basedir/node" ]; then if [ -x "$basedir/node" ]; then
"$basedir/node" "$basedir/../esprima/bin/esparse.js" "$@" exec "$basedir/node" "$basedir/../esprima/bin/esparse.js" "$@"
ret=$?
else else
node "$basedir/../esprima/bin/esparse.js" "$@" exec node "$basedir/../esprima/bin/esparse.js" "$@"
ret=$?
fi fi
exit $ret
@IF EXIST "%~dp0\node.exe" ( @ECHO off
"%~dp0\node.exe" "%~dp0\..\esprima\bin\esparse.js" %* GOTO start
) ELSE ( :find_dp0
@SETLOCAL SET dp0=%~dp0
@SET PATHEXT=%PATHEXT:;.JS;=;% EXIT /b
node "%~dp0\..\esprima\bin\esparse.js" %* :start
) SETLOCAL
\ No newline at end of file CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\esprima\bin\esparse.js" %*
...@@ -2,14 +2,11 @@ ...@@ -2,14 +2,11 @@
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in case `uname` in
*CYGWIN*) basedir=`cygpath -w "$basedir"`;; *CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
esac esac
if [ -x "$basedir/node" ]; then if [ -x "$basedir/node" ]; then
"$basedir/node" "$basedir/../esprima/bin/esvalidate.js" "$@" exec "$basedir/node" "$basedir/../esprima/bin/esvalidate.js" "$@"
ret=$?
else else
node "$basedir/../esprima/bin/esvalidate.js" "$@" exec node "$basedir/../esprima/bin/esvalidate.js" "$@"
ret=$?
fi fi
exit $ret
@IF EXIST "%~dp0\node.exe" ( @ECHO off
"%~dp0\node.exe" "%~dp0\..\esprima\bin\esvalidate.js" %* GOTO start
) ELSE ( :find_dp0
@SETLOCAL SET dp0=%~dp0
@SET PATHEXT=%PATHEXT:;.JS;=;% EXIT /b
node "%~dp0\..\esprima\bin\esvalidate.js" %* :start
) SETLOCAL
\ No newline at end of file CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\esprima\bin\esvalidate.js" %*
...@@ -2,14 +2,11 @@ ...@@ -2,14 +2,11 @@
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in case `uname` in
*CYGWIN*) basedir=`cygpath -w "$basedir"`;; *CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
esac esac
if [ -x "$basedir/node" ]; then if [ -x "$basedir/node" ]; then
"$basedir/node" "$basedir/../gulp/bin/gulp.js" "$@" exec "$basedir/node" "$basedir/../gulp/bin/gulp.js" "$@"
ret=$?
else else
node "$basedir/../gulp/bin/gulp.js" "$@" exec node "$basedir/../gulp/bin/gulp.js" "$@"
ret=$?
fi fi
exit $ret
@IF EXIST "%~dp0\node.exe" ( @ECHO off
"%~dp0\node.exe" "%~dp0\..\gulp\bin\gulp.js" %* GOTO start
) ELSE ( :find_dp0
@SETLOCAL SET dp0=%~dp0
@SET PATHEXT=%PATHEXT:;.JS;=;% EXIT /b
node "%~dp0\..\gulp\bin\gulp.js" %* :start
) SETLOCAL
\ No newline at end of file CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\gulp\bin\gulp.js" %*
...@@ -2,14 +2,11 @@ ...@@ -2,14 +2,11 @@
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in case `uname` in
*CYGWIN*) basedir=`cygpath -w "$basedir"`;; *CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
esac esac
if [ -x "$basedir/node" ]; then if [ -x "$basedir/node" ]; then
"$basedir/node" "$basedir/../he/bin/he" "$@" exec "$basedir/node" "$basedir/../he/bin/he" "$@"
ret=$?
else else
node "$basedir/../he/bin/he" "$@" exec node "$basedir/../he/bin/he" "$@"
ret=$?
fi fi
exit $ret
@IF EXIST "%~dp0\node.exe" ( @ECHO off
"%~dp0\node.exe" "%~dp0\..\he\bin\he" %* GOTO start
) ELSE ( :find_dp0
@SETLOCAL SET dp0=%~dp0
@SET PATHEXT=%PATHEXT:;.JS;=;% EXIT /b
node "%~dp0\..\he\bin\he" %* :start
) SETLOCAL
\ No newline at end of file CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\he\bin\he" %*
...@@ -2,14 +2,11 @@ ...@@ -2,14 +2,11 @@
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in case `uname` in
*CYGWIN*) basedir=`cygpath -w "$basedir"`;; *CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
esac esac
if [ -x "$basedir/node" ]; then if [ -x "$basedir/node" ]; then
"$basedir/node" "$basedir/../js-beautify/js/bin/html-beautify.js" "$@" exec "$basedir/node" "$basedir/../js-beautify/js/bin/html-beautify.js" "$@"
ret=$?
else else
node "$basedir/../js-beautify/js/bin/html-beautify.js" "$@" exec node "$basedir/../js-beautify/js/bin/html-beautify.js" "$@"
ret=$?
fi fi
exit $ret
@IF EXIST "%~dp0\node.exe" ( @ECHO off
"%~dp0\node.exe" "%~dp0\..\js-beautify\js\bin\html-beautify.js" %* GOTO start
) ELSE ( :find_dp0
@SETLOCAL SET dp0=%~dp0
@SET PATHEXT=%PATHEXT:;.JS;=;% EXIT /b
node "%~dp0\..\js-beautify\js\bin\html-beautify.js" %* :start
) SETLOCAL
\ No newline at end of file CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\js-beautify\js\bin\html-beautify.js" %*
...@@ -2,14 +2,11 @@ ...@@ -2,14 +2,11 @@
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in case `uname` in
*CYGWIN*) basedir=`cygpath -w "$basedir"`;; *CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
esac esac
if [ -x "$basedir/node" ]; then if [ -x "$basedir/node" ]; then
"$basedir/node" "$basedir/../html-minifier/cli.js" "$@" exec "$basedir/node" "$basedir/../html-minifier/cli.js" "$@"
ret=$?
else else
node "$basedir/../html-minifier/cli.js" "$@" exec node "$basedir/../html-minifier/cli.js" "$@"
ret=$?
fi fi
exit $ret
@IF EXIST "%~dp0\node.exe" ( @ECHO off
"%~dp0\node.exe" "%~dp0\..\html-minifier\cli.js" %* GOTO start
) ELSE ( :find_dp0
@SETLOCAL SET dp0=%~dp0
@SET PATHEXT=%PATHEXT:;.JS;=;% EXIT /b
node "%~dp0\..\html-minifier\cli.js" %* :start
) SETLOCAL
\ No newline at end of file CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\html-minifier\cli.js" %*
...@@ -2,14 +2,11 @@ ...@@ -2,14 +2,11 @@
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in case `uname` in
*CYGWIN*) basedir=`cygpath -w "$basedir"`;; *CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
esac esac
if [ -x "$basedir/node" ]; then if [ -x "$basedir/node" ]; then
"$basedir/node" "$basedir/../js-beautify/js/bin/js-beautify.js" "$@" exec "$basedir/node" "$basedir/../js-beautify/js/bin/js-beautify.js" "$@"
ret=$?
else else
node "$basedir/../js-beautify/js/bin/js-beautify.js" "$@" exec node "$basedir/../js-beautify/js/bin/js-beautify.js" "$@"
ret=$?
fi fi
exit $ret
@IF EXIST "%~dp0\node.exe" ( @ECHO off
"%~dp0\node.exe" "%~dp0\..\js-beautify\js\bin\js-beautify.js" %* GOTO start
) ELSE ( :find_dp0
@SETLOCAL SET dp0=%~dp0
@SET PATHEXT=%PATHEXT:;.JS;=;% EXIT /b
node "%~dp0\..\js-beautify\js\bin\js-beautify.js" %* :start
) SETLOCAL
\ No newline at end of file CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\js-beautify\js\bin\js-beautify.js" %*
...@@ -2,14 +2,11 @@ ...@@ -2,14 +2,11 @@
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in case `uname` in
*CYGWIN*) basedir=`cygpath -w "$basedir"`;; *CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
esac esac
if [ -x "$basedir/node" ]; then if [ -x "$basedir/node" ]; then
"$basedir/node" "$basedir/../js-yaml/bin/js-yaml.js" "$@" exec "$basedir/node" "$basedir/../js-yaml/bin/js-yaml.js" "$@"
ret=$?
else else
node "$basedir/../js-yaml/bin/js-yaml.js" "$@" exec node "$basedir/../js-yaml/bin/js-yaml.js" "$@"
ret=$?
fi fi
exit $ret
@IF EXIST "%~dp0\node.exe" ( @ECHO off
"%~dp0\node.exe" "%~dp0\..\js-yaml\bin\js-yaml.js" %* GOTO start
) ELSE ( :find_dp0
@SETLOCAL SET dp0=%~dp0
@SET PATHEXT=%PATHEXT:;.JS;=;% EXIT /b
node "%~dp0\..\js-yaml\bin\js-yaml.js" %* :start
) SETLOCAL
\ No newline at end of file CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\js-yaml\bin\js-yaml.js" %*
...@@ -2,14 +2,11 @@ ...@@ -2,14 +2,11 @@
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in case `uname` in
*CYGWIN*) basedir=`cygpath -w "$basedir"`;; *CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
esac esac
if [ -x "$basedir/node" ]; then if [ -x "$basedir/node" ]; then
"$basedir/node" "$basedir/../jsesc/bin/jsesc" "$@" exec "$basedir/node" "$basedir/../jsesc/bin/jsesc" "$@"
ret=$?
else else
node "$basedir/../jsesc/bin/jsesc" "$@" exec node "$basedir/../jsesc/bin/jsesc" "$@"
ret=$?
fi fi
exit $ret
@IF EXIST "%~dp0\node.exe" ( @ECHO off
"%~dp0\node.exe" "%~dp0\..\jsesc\bin\jsesc" %* GOTO start
) ELSE ( :find_dp0
@SETLOCAL SET dp0=%~dp0
@SET PATHEXT=%PATHEXT:;.JS;=;% EXIT /b
node "%~dp0\..\jsesc\bin\jsesc" %* :start
) SETLOCAL
\ No newline at end of file CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\jsesc\bin\jsesc" %*
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment