Closed Bug 1240740 Opened 10 years ago Closed 10 years ago

Running all app's build.js on node.js

Categories

(Firefox OS Graveyard :: Gaia::Build, defect, P1)

ARM
Gonk (Firefox OS)
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: rickychien, Assigned: rickychien)

References

Details

Attachments

(3 files)

This bug is using for refactoring / ensuring all app's build script (system/build/build.js, settings/build/build.js, gallery/build/build.js...etc) are able to run on node.js environment.
Priority: -- → P1
Assignee: nobody → rchien
Status: NEW → ASSIGNED
Comment on attachment 8711552 [details] [review] [gaia] rickychien:all-apps-build-to-node > mozilla-b2g:master Hey, here is a big piece of changes for fixing almost all app's build.js. For those apps who are using specific XPConnect APIs (email, keyboard, operatorvariant), we don't port them in this time. Some of dirty code you might see but they will be cleaned up as long as our first step migration is complete. For instance, module system is different between xlc and node. require() call's loader rules are different so I fixed that with moving out libraries with some of hacks temporary. There might be other problem or uneasy understand part to you, please ask any questions if you're unsure :)
Attachment #8711552 - Flags: review?(scwwu)
Comment on attachment 8711552 [details] [review] [gaia] rickychien:all-apps-build-to-node > mozilla-b2g:master Tested on device and diff looks good. r+ Thanks
Attachment #8711552 - Flags: review?(scwwu) → review+
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED