Skip to content

Instantly share code, notes, and snippets.

View cmallory's full-sized avatar

Cameron Mallory cmallory

View GitHub Profile
@cmallory
cmallory / compile.sh
Last active June 11, 2018 21:46
CodeRunner2 Kotlin support with syntax highlighting
#!/bin/bash
# This is a CodeRunner compile script. Compile scripts are used to compile
# code before being run using the run command specified in CodeRunner
# preferences. This script is invoked with the following properties:
#
# Current directory: The directory of the source file being run
#
# Arguments $1-$n: User-defined compile flags
#
# Environment: $CR_FILENAME Filename of the source file being run