From 3b5ca128baa4e423342a3f8b873504f637bd3834 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simo-Pekka=20Kerkel=C3=A4?= Date: Thu, 7 Feb 2019 23:20:58 +0200 Subject: [PATCH] initial commit --- .gitignore | 44 ++++++++++++++++++++++++++++++++++++++++++++ main.lua | 3 +++ run_osx.sh | 3 +++ 3 files changed, 50 insertions(+) create mode 100644 .gitignore create mode 100644 main.lua create mode 100755 run_osx.sh diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..eea8ebd --- /dev/null +++ b/.gitignore @@ -0,0 +1,44 @@ +#### joe made this: http://goel.io/joe + +#### lua #### +# Compiled Lua sources +luac.out + +# luarocks build files +*.src.rock +*.zip +*.tar.gz + +# Object files +*.o +*.os +*.ko +*.obj +*.elf + +# Precompiled Headers +*.gch +*.pch + +# Libraries +*.lib +*.a +*.la +*.lo +*.def +*.exp + +# Shared objects (inc. Windows DLLs) +*.dll +*.so +*.so.* +*.dylib + +# Executables +*.exe +*.out +*.app +*.i*86 +*.x86_64 +*.hex + diff --git a/main.lua b/main.lua new file mode 100644 index 0000000..cbe23ab --- /dev/null +++ b/main.lua @@ -0,0 +1,3 @@ +function love.draw() + love.graphics.print("Hello World", 400, 300) +end diff --git a/run_osx.sh b/run_osx.sh new file mode 100755 index 0000000..2d9b006 --- /dev/null +++ b/run_osx.sh @@ -0,0 +1,3 @@ +#!/usr/bin/env bash +cur_dir=$PWD +open -n -a love "$cur_dir"