amend rules for moonscript stuff

This commit is contained in:
Christine Dodrill 2015-06-15 16:45:21 -07:00
parent a9eeaaf648
commit 4fae16e54f
2 changed files with 2 additions and 1 deletions

View File

@ -15,5 +15,5 @@ CFLAGS += -Werror
!gccgo = |> ^ GCCGo: %f -> Binary %o^ gccgo $(GOFLAGS) -o %o %f |>
!cc = |> ^ CC: %f -> Binary %o^ gcc $(CFLAGS) -o %o %f |>
!obj = |> ^ CC: %f -> Binary %o^ gcc $(CFLAGS) -c -o %o %f |>
!moon = |> ^ Moonscript: %f -> Script %o^ moonc -o %o %f && chmod u+x %o |>
!moon = |> ^ Moonscript: %f -> Script %o^ moonc -o %o %f |>
!luascript = |> ^ Lua script: %f -> Script %o^ echo "#!/usr/bin/lua" >> %o && cat %f >> %o && chmod u+x %o |>

View File

@ -4,3 +4,4 @@ include_rules
: foreach *.moon |> !moon |> ../../lua/%B.lua
: ../../lua/free.lua |> !luascript |> ../../bin/free-moon
: ../../lua/fuckedtail.lua |> !luascript |> ../../bin/fuckedtail