<commit_before># Gerrit
#
# Copyright 2008 Google Inc.
#
# 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.
#
# Define GWT_SDK to the location of the Google Web Toolkit SDK.
#
# Define GEN_DEBUG to save the generated Java code from GWT.
#

uname_S := $(shell sh -c 'uname -s 2>/dev/null || echo not')

JAVA       = java
JAVA_ARGS  = -Xmx265m
GWT_OS     = unknown
GWT_FLAGS  =

gwtjsonrpc = ../gwtjsonrpc
gwtorm     = ../gwtorm

ifeq ($(uname_S),Darwin)
	GWT_OS = mac
endif
ifeq ($(uname_S),Linux)
	GWT_OS = linux
endif
ifeq ($(uname_S),Cygwin)
	GWT_OS = win
endif

-include config.mak

WEBAPP   = webapp
WEB_MAIN = com.google.gerrit.Gerrit
GWT_CP   = \
	$(GWT_SDK)/gwt-user.jar \
	$(GWT_SDK)/gwt-dev-$(GWT_OS).jar \
	lib/gwtjsonrpc.jar \
	lib/gwtorm.jar \
#end GWT_CP

WEB_LIB_GEN = \
	$(WEBAPP)/lib/gson.jar \
	$(WEBAPP)/lib/commons-codec.jar \
	$(WEBAPP)/lib/gwtjsonrpc.jar \
	$(WEBAPP)/lib/antlr.jar \
	$(WEBAPP)/lib/asm.jar \
	$(WEBAPP)/lib/gwtorm.jar \
#end WEB_LIB_GEN

ifdef GEN_DEBUG
	GWT_FLAGS += -gen gensrc
endif

all: web

clean:
	rm -f $(WEB_LIG_GEN)
	rm -rf $(WEBAPP)/gensrc
	rm -rf $(WEBAPP)/classes<commit_msg>Fix clean target to remove all of $(WEB_LIB_GEN)<commit_after># Gerrit
#
# Copyright 2008 Google Inc.
#
# 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.
#
# Define GWT_SDK to the location of the Google Web Toolkit SDK.
#
# Define GEN_DEBUG to save the generated Java code from GWT.
#

uname_S := $(shell sh -c 'uname -s 2>/dev/null || echo not')

JAVA       = java
JAVA_ARGS  = -Xmx265m
GWT_OS     = unknown
GWT_FLAGS  =

gwtjsonrpc = ../gwtjsonrpc
gwtorm     = ../gwtorm

ifeq ($(uname_S),Darwin)
	GWT_OS = mac
endif
ifeq ($(uname_S),Linux)
	GWT_OS = linux
endif
ifeq ($(uname_S),Cygwin)
	GWT_OS = win
endif

-include config.mak

WEBAPP   = webapp
WEB_MAIN = com.google.gerrit.Gerrit
GWT_CP   = \
	$(GWT_SDK)/gwt-user.jar \
	$(GWT_SDK)/gwt-dev-$(GWT_OS).jar \
	lib/gwtjsonrpc.jar \
	lib/gwtorm.jar \
#end GWT_CP

WEB_LIB_GEN = \
	$(WEBAPP)/lib/gson.jar \
	$(WEBAPP)/lib/commons-codec.jar \
	$(WEBAPP)/lib/gwtjsonrpc.jar \
	$(WEBAPP)/lib/antlr.jar \
	$(WEBAPP)/lib/asm.jar \
	$(WEBAPP)/lib/gwtorm.jar \
#end WEB_LIB_GEN

ifdef GEN_DEBUG
	GWT_FLAGS += -gen gensrc
endif

all: web

clean:
	rm -f $(WEB_LIB_GEN)
	rm -rf $(WEBAPP)/gensrc
	rm -rf $(WEBAPP)/classes
{'fraction_non_alphanumeric': 0.1215926493108729, 'fraction_numerical': 0.007350689127105666, 'mean_word_length': 3.587078651685393, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '1899424', 'n_tokens_mistral': 1294, 'n_tokens_neox': 1240, 'n_words': 366}