<commit_before>#!/bin/bash
#
# @author holman
#
# Shortcut script to launch Ocsigen web server and compile Sass

usage() {
  echo "Usage ./launch.sh (dev|prod)"
  exit
}

wrong_dir() {
  echo "Error: run from project root dir"
  exit
}

if [ $# -lt 1 ]; then usage; fi

cd static || wrong_dir
compass compile
cd ..
<commit_msg>Small update to launch<commit_after>#!/bin/bash
#
# @author holman
#
# Shortcut script to launch Ocsigen web server and compile Sass

usage() {
  echo "Usage ./launch.sh (dev|prod)"
  exit
}

wrong_dir() {
  echo "Error: run from project root dir"
  exit
}

if [ $# -lt 1 ]; then usage; fi

cd static || wrong_dir
compass compile
cd ..

# Compile the files first, then run the launch make
make

{'fraction_non_alphanumeric': 0.11927877947295423, 'fraction_numerical': 0.0027739251040221915, 'mean_word_length': 3.45679012345679, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '4681858', 'n_tokens_mistral': 262, 'n_tokens_neox': 251, 'n_words': 93}