dbankier / JAST

JAST is a boilerplate with a mash of tools for rapid Alloy development
91 stars 15 forks source link

Fails to compile Alloy 1.2 project #1

Closed cdrx closed 11 years ago

cdrx commented 11 years ago

Hi,

Running the gruntfile against alloy 1.2 gives me the following error, when building any changes:

Error: [ERROR] You must define a target platform for the alloy compile command [ERROR] Ex. "alloy compile --config platform=ios"

do you know how I can go about fixing this? TiShadow + Grunt looks like a very powerful tool.

dbankier commented 11 years ago

Hi. Sorry for the delay. I saw your PR (https://github.com/astronaughts/grunt-tishadow/pull/1). In the end it was just a few mistakes in the Gruntfile that the old version of alloy let through.

cdrx commented 11 years ago

Thank you :-)

nova-tan commented 11 years ago

Hi David,

Thanks for your awesome plugin. I encountered the same issue when I upgraded Alloy to 1.2.0. Unfortunately, the latest commit 8723d27 didn't work for me. I basically cloned this sample and npm installed required plugins. When I edit the index.jade file I got this in log:

Error: [ERROR] "You must define a target platform for the alloy compile command [ERROR] Ex. "alloy compile --config platform=ios".

Do you know any workaround?

dbankier commented 11 years ago

yep @cdrx has submitted a pull request to @astronaughts. You can use @cdrx's repository as a dev-dependency while you wait.