Commit a685ebdb authored by Elias Häußler's avatar Elias Häußler 🐛

ADD: travis file and scripts

parent 6e7c47b5
[![Build Status](https://travis-ci.com/eliashaeussler/trumpinator.svg?token=vkQdh4FDH2sRrf94RJjF&branch=master)](https://travis-ci.com/eliashaeussler/trumpinator)
![license](https://img.shields.io/github/license/eliashaeussler/trumpinator.svg)
# Trumpinator
Welcome to Trumpinator, the world's best opportunity to deal with Donald Trump's statements! Don't you like what he's talking about on Twitter? No problem, just scream everything you have on your mind inside your computer's mic and it will destroy all the crappy stuff @realdonaldtrump is talking about on Twitter!
......
#!/bin/bash
myexe="./processing-3.1.1/processing-java"
input_folder="."
output_folder="/output"
if [ ! -e $myexe ]
then
echo "Executable '"$myexe"' not found, line "$LINENO
exit 1
fi
if [ ! -e $input_folder ]
then
echo "Input folder '"$input_folder"' not found, line "$LINENO
exit 1
fi
if [ -e $output_folder ]
then
echo "Output folder '"$output_folder"' found, deleting it"
rm -rf $output_folder
fi
if [ -e $output_folder ]
then
echo "Folder '"$output_folder"' could not be deleted, line "$LINENO
exit 1
fi
$myexe --sketch=$input_folder --output=$output_folder --build > /dev/null
if [ -e $output_folder/$input_folder.class ]
then
# echo "Success"
rm -rf $output_folder
exit 0
else
echo "Build failed, line "$LINENO
exit 1
fi
#!/bin/bash
zipfile="processing-3.1.1-linux32.tgz"
if [ ! -e $zipfile ]
then
wget http://download.processing.org/$zipfile
fi
tar zxvf $zipfile > /dev/null
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment