[Architecture] Grunt scripts for the personalization framework
swgithen at mtu.edu
Tue Apr 8 23:44:29 EDT 2014
Quick Update on the grunting of GPII-88
I’m able to build both OS X and Windows with Grunt. It was actually more straightforward on windows than I expected, and only required a minor tweak from the same grunt script I started with on OS X. So that’s... AWESOME.
I’m going to do linux now based off the same script, then put the shared code together as a grunt plugin, and then solicit volunteers to test the build, which should be ready early next week.
I’ll put out the call for volunteers to test it and then do the android build, which is not much different, but just has a lot more shell commands to factor so it’ll take another hour or so.
I’m pretty excited for the potential for us to do lots of cool automated stuff on our projects once they are all sharing the same grunt code base.
On Mar 17, 2014, at 11:24 AM, Clark, Colin <cclark at ocadu.ca> wrote:
> No, we haven't tried it yet, but that's part of what Steve is planning to look into when he writes this script, I think.
> It is hugely helpful to know about his feature! Thanks for finding it.
>> On Mar 17, 2014, at 5:53 AM, "Justin Obara" <obara.justin at gmail.com> wrote:
>> Last week I sent an e-mail to the architecture list about using npm dedupe to remove duplicate dependencies. Has this been tried yet?
>>> On Mar 15, 2014, at 7:59 PM, Clark, Colin <cclark at ocadu.ca> wrote:
>>> Hi everyone,
>>> We spent time today talking about some of the issues we’ve faced recently with npm, newer versions of Node.js, and our cross-platform build requirements for the personalization framework. Here’s a quick summary:
>>> At the moment, we’re suffering from this issue related to the fact that npm no longer properly ensures that only one copy of a shared dependency is installed:
>>> Although we’re planning to work with the npm community to determine if this is a regression, we’re also going to create a Grunt script that will take care of deleting any stray dependencies on the filesystem. There are several other features we identified as being worthwhile:
>>> Steve Githens has offered to start on this script over the next couple of days.
>>> We also have a problem where versions of Node.js above 0.8.x on Windows fail due to incompatibilities with node-ffi. Simon is investigating this issue and has offered to file a JIRA and make a fix for this.
>>> Somewhat relatedly, Antranig has filed an issue related to the cryptic error messages we see from Infusion when problems like this occur deep in the system:
>>> Colin Clark
>>> Lead Software Architect,
>>> Inclusive Design Research Centre, OCAD University
>>> Architecture mailing list
>>> Architecture at lists.gpii.net
More information about the Architecture