evoldoers / biomake

GNU-Make-like utility for managing builds and complex workflows
BSD 3-Clause "New" or "Revised" License
100 stars 9 forks source link

export requires a blank line after #52

Closed sjackman closed 6 years ago

sjackman commented 6 years ago
export FOO=bar

all:
❯❯❯ biomake 2>&1 | head -n1
Exception: error(syntax_error(GNU makefile parse error at line 1 of file Makefile: export FOO=bar),_1534)

@ihh Help?

cmungall commented 6 years ago

is this on master? I can't seem to replicate this

sjackman commented 6 years ago

Yes, it's on master, commit 5c63168.

$ realpath ~/.linuxbrew/bin/biomake
/home/sjackman/.linuxbrew/Cellar/biomake/HEAD-5c63168/bin/biomake
sjackman commented 6 years ago

Sigh. Sorry. I completely messed up the reproducible example, and the bug's not what I thought it was. Currently export requires a blank line after it.

Works

export FOO=bar

all:

Does not work

export FOO=bar
all:
❯❯❯ biomake 2>&1 | head -n1
Exception: error(syntax_error(GNU makefile parse error at line 1 of file Makefile: export FOO=bar),_1624)
sjackman commented 6 years ago

You work fast. Thanks, Ian!