text
stringlengths
0
834k
python manage.py show_db_details
if %errorlevel% gtr 0 goto error
rem Import the Bricklink Attributes
python manage.py import_bricklink_attributes ""%BRICKLINK_PART_FILE_PATH%""
if %errorlevel% gtr 0 goto error
python manage.py show_db_details
if %errorlevel% gtr 0 goto error
rem Import the Ldraw Attributes
python manage.py import_ldraw_processed_parts ""%LDRAW_PARTS_FILE_PATH%""
if %errorlevel% gtr 0 goto error
python manage.py show_db_details
if %errorlevel% gtr 0 goto error
rem Guess the Part Dimensions from Name for non set ones
python manage.py guess_dimensions_from_part_names
if %errorlevel% gtr 0 goto error
python manage.py show_db_details
if %errorlevel% gtr 0 goto error
rem Set the Related Attributes
python manage.py set_related_attributes
if %errorlevel% gtr 0 goto error
python manage.py show_db_details
if %errorlevel% gtr 0 goto error
goto end
:error
echo ### DATA IMPORT WITH ERRORS ###
echo exit /B 1
exit /B 1
:end
echo %date% - %time%
echo ### DATA IMPORT OK ###
popd
endlocal
echo exit /B 0
exit /B 0
",32.5454545455,123,0.8108539505
219292,d2d21c73a8c0de52515dc93b02d8343911937fae,2237,bat,Batchfile,build/scripts/gradle-demo.bat,sngths/gradle-demo,3c849bdec3ce2346613b8dc52b6559079025fea0,['Apache-2.0'],1.0,2017-05-31T09:35:15.000Z,2017-05-31T09:35:15.000Z,build/scripts/gradle-demo.bat,sngths/gradle-demo,3c849bdec3ce2346613b8dc52b6559079025fea0,['Ap...
@rem ##########################################################################
@rem
@rem gradle-demo startup script for Windows
@rem
@rem ##########################################################################
@rem Set local scope for the variables with windows NT shell
if ""%OS%""==""Windows_NT"" setlocal
set DIRNAME=%~dp0
if ""%DIRNAME%"" == """" set DIRNAME=.
set APP_BASE_NAME=%~n0
set APP_HOME=%DIRNAME%..
@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_DEMO_OPTS to pass JVM options to this script.
set DEFAULT_JVM_OPTS=
@rem Find java.exe
if defined JAVA_HOME goto findJavaFromJavaHome
set JAVA_EXE=java.exe
%JAVA_EXE% -version >NUL 2>&1
if ""%ERRORLEVEL%"" == ""0"" goto init
echo.
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
echo.
echo Please set the JAVA_HOME variable in your environment to match the
echo location of your Java installation.
goto fail
:findJavaFromJavaHome
set JAVA_HOME=%JAVA_HOME:""=%
set JAVA_EXE=%JAVA_HOME%/bin/java.exe
if exist ""%JAVA_EXE%"" goto init
echo.
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
echo.
echo Please set the JAVA_HOME variable in your environment to match the
echo location of your Java installation.
goto fail
:init
@rem Get command-line arguments, handling Windows variants
if not ""%OS%"" == ""Windows_NT"" goto win9xME_args
:win9xME_args
@rem Slurp the command line arguments.
set CMD_LINE_ARGS=
set _SKIP=2
:win9xME_args_slurp