From e04f7c24fa72f12cc46c7e02a4795926e1bf9e5e Mon Sep 17 00:00:00 2001 From: Alexander Udalov Date: Thu, 26 Jun 2014 01:24:36 +0400 Subject: [PATCH] Alias 'kotlinc' for 'kotlinc-jvm' --- compiler/cli/bin/kotlinc | 17 +++++++++++++++++ compiler/cli/bin/kotlinc.bat | 17 +++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100755 compiler/cli/bin/kotlinc create mode 100644 compiler/cli/bin/kotlinc.bat diff --git a/compiler/cli/bin/kotlinc b/compiler/cli/bin/kotlinc new file mode 100755 index 00000000000..867dd7093a0 --- /dev/null +++ b/compiler/cli/bin/kotlinc @@ -0,0 +1,17 @@ +#!/bin/bash --posix + +# Copyright 2010-2014 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. + +$(dirname $0)/kotlinc-jvm "$@" diff --git a/compiler/cli/bin/kotlinc.bat b/compiler/cli/bin/kotlinc.bat new file mode 100644 index 00000000000..d55e6c86d74 --- /dev/null +++ b/compiler/cli/bin/kotlinc.bat @@ -0,0 +1,17 @@ +@echo off + +rem Copyright 2010-2014 JetBrains s.r.o. +rem +rem Licensed under the Apache License, Version 2.0 (the "License"); +rem you may not use this file except in compliance with the License. +rem You may obtain a copy of the License at +rem +rem http://www.apache.org/licenses/LICENSE-2.0 +rem +rem Unless required by applicable law or agreed to in writing, software +rem distributed under the License is distributed on an "AS IS" BASIS, +rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +rem See the License for the specific language governing permissions and +rem limitations under the License. + +call %~dp0kotlinc-jvm.bat %*