<commit_before>.abignore
=========

To set exclude and include rules, you can create and manage an .abignore file in the root of your project.

* [Overview](#overview)
* [Create .abignore](#create-abignore)
* [Adding rules and comments](#adding-rules-and-comments)
* [Sample .abignore](#sample-abignore)
* [Troubleshooting](#troubleshooting)

## Overview

When you develop apps with the Telerik AppBuilder Command-Line Interface (AppBuilder CLI), you can choose which files to exclude from your application package. To set exclude and include rules, you can modify the `.abignore` file in the root of your project.

The AppBuilder CLI respects `.abignore` during the following operations.

* Build an application package.
* Build an application package for publishing.
* Build and deploy an application package on device.
* Build and deploy in the companion app from QR code.
* Build and deploy in the native emulators.
* LiveSync changes to remote devices.
* LiveSync changes to connected devices.

The AppBuilder CLI does not respect `.abignore` during the following operations.

* Build and deploy in the device simulator.

> **Do you develop your project in multiple AppBuilder clients?**
>
> When you work with connected physical or virtual devices, the AppBuilder Windows client and the AppBuilder extension for Visual Studio respect `.abignore` during LiveSync operations to application packages and the companion app. 

## Create .abignore

Starting with AppBuilder 2.6, all newly created projects or cloned sample apps contain a default `.abignore`. To manage the exclude and include rules for projects created with earlier versions of AppBuilder, you need to manually add `.abignore` to your project.

### Create non-configuration-specific .abignore

* If you are running the AppBuilder CLI on a Windows system, complete these steps to create `.abignore`.
   1. From the command prompt, navigate to the root of your project.
   1. Run the following command.

      ```Shell
      type nul > .abignore
      ```
* If you are running the AppBuilder CLI on an OS X or Linux system, complete these steps to create `.abignore`.
   1. From the command prompt, navigate to the root of your project.
   1. Run the following command.

      ```Shell
      touch .abignore
      ```

### Create configuration-specific .abignore

* If you are running the AppBuilder CLI on a Windows system, complete these steps to create `.abignore`.<commit_msg>.abignore is respected by server & behaves consistently across clients<commit_after>.abignore
=========

To set exclude and include rules, you can create and manage an `.abignore` file in the root of your project.

* [Overview](#overview)
* [Create .abignore](#create-abignore)
* [Adding rules and comments](#adding-rules-and-comments)
* [Sample .abignore](#sample-abignore)
* [Troubleshooting](#troubleshooting)

## Overview

When you develop apps with the Telerik AppBuilder Command-Line Interface (AppBuilder CLI), you can choose which files to exclude from your application package. To set exclude and include rules, you can modify the `.abignore` file in the root of your project.

The AppBuilder CLI respects `.abignore` during the following operations.

* Build an application package.
* Build an application package for publishing.
* Build and deploy an application package on device.
* Build and deploy in the companion app from QR code.
* Build and deploy in the native emulators.
* LiveSync changes to remote devices.
* LiveSync changes to connected devices.

The AppBuilder CLI does not respect `.abignore` during the following operations.

* Build and deploy in the device simulator.

## Create .abignore

Starting with AppBuilder 2.6, all newly created projects or cloned sample apps contain a default `.abignore`. To manage the exclude and include rules for projects created with earlier versions of AppBuilder, you need to manually add `.abignore` to your project.

### Create non-configuration-specific .abignore

* If you are running the AppBuilder CLI on a Windows system, complete these steps to create `.abignore`.
   1. From the command prompt, navigate to the root of your project.
   1. Run the following command.

      ```Shell
      type nul > .abignore
      ```
* If you are running the AppBuilder CLI on an OS X or Linux system, complete these steps to create `.abignore`.
   1. From the command prompt, navigate to the root of your project.
   1. Run the following command.

      ```Shell
      touch .abignore
      ```

### Create configuration-specific .abignore

* If you are running the AppBuilder CLI on a Windows system, complete these steps to create `.abignore`.
{'fraction_non_alphanumeric': 0.07121342512908778, 'fraction_numerical': 0.0025817555938037868, 'mean_word_length': 4.080874316939891, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 8, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1813458', 'n_tokens_mistral': 1190, 'n_tokens_neox': 1130, 'n_words': 624}