<commit_before>#!/usr/bin/env sh

ELM_BOILERPLATE_DIR=~/trap/elm/boilerplate

function error() {
  >&2 echo $*
  exit 1
}

[ "$*" == "" ] && error Usage: elm create "Your app name" && exit 1

[ "$(/usr/bin/env ls -A)" != "" ] && error Error: current folder should be empty

ln -s $ELM_BOILERPLATE_DIR/Makefile . || error Error: Makefile not found

echo Creating app : $*
APP_TITLE="$*" make<commit_msg>Change ELM_BOILERPLATE_DIR according to README installation notes<commit_after>#!/usr/bin/env sh

ELM_BOILERPLATE_DIR=~/elm-boilerplate

function error() {
  >&2 echo $*
  exit 1
}

[ "$*" == "" ] && error Usage: elm create "Your app name" && exit 1

[ "$(/usr/bin/env ls -A)" != "" ] && error Error: current folder should be empty

ln -s $ELM_BOILERPLATE_DIR/Makefile . || error Error: Makefile not found

echo Creating app : $*
APP_TITLE="$*" make
{'fraction_non_alphanumeric': 0.16568742655699178, 'fraction_numerical': 0.007050528789659225, 'mean_word_length': 4.011764705882353, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '1621333', 'n_tokens_mistral': 334, 'n_tokens_neox': 313, 'n_words': 87}