Remember: premature optimization is a root of all evil

This commit is contained in:
Dmitry Trofimov
2017-08-19 00:04:19 +02:00
parent dde38152a1
commit 7f5e7caf66
2 changed files with 0 additions and 44 deletions
-15
View File
@@ -1,15 +0,0 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="BuildPythonSkeletons" type="JetRunConfigurationType" factoryName="Kotlin">
<extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
<option name="MAIN_CLASS_NAME" value="com.jetbrains.python.tools.BuildZippedSkeletonsKt" />
<option name="VM_PARAMETERS" value="" />
<option name="PROGRAM_PARAMETERS" value="" />
<option name="WORKING_DIRECTORY" value="" />
<option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
<option name="ALTERNATIVE_JRE_PATH" />
<option name="PASS_PARENT_ENVS" value="true" />
<module name="python-community-tools" />
<envs />
<method />
</configuration>
</component>
-29
View File
@@ -1,29 +0,0 @@
/*
* Copyright 2000-2017 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import org.jetbrains.intellij.build.CompilationTasks
import org.jetbrains.intellij.build.impl.CompilationContextImpl
import org.jetbrains.jps.idea.IdeaProjectLoader
/**
* This script is used to download repository libraries for 'IntelliJ IDEA Project Runner' on TeamCity. It's a temporary workaround until
* TeamCity updates its runner to 172.* builds where repository libraries are supported (https://youtrack.jetbrains.com/issue/TW-51237).
*/
target("default": "Download repository libraries for IntelliJ IDEA project") {
String home = IdeaProjectLoader.guessHome(this)
String outputDir = "$home/out/compilation"
def context = CompilationContextImpl.create("$home", home, outputDir)
CompilationTasks.create(context).resolveProjectDependencies()
}