k0sukey / alloy-smelter Goto Github PK
View Code? Open in Web Editor NEWHelper commands for Appcelerator Titanium MVC Framework Alloy project app.
Helper commands for Appcelerator Titanium MVC Framework Alloy project app.
$ smelter copy source destination
There's a problem with the base64 package used by alloy-smelter that causes the build to fail on node versions >= 0.12.2 when trying the command node-gyp rebuild
Still shows error on MAC OS El Capitan
make: *** [Release/obj.target/base64/base64.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: make
failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack at emitTwo (events.js:106:13)
gyp ERR! stack at ChildProcess.emit (events.js:191:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:204:12)
gyp ERR! System Darwin 15.3.0
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/local/lib/node_modules/alloy-smelter/node_modules/base64
gyp ERR! node -v v6.2.1
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
/usr/local/lib
└── (empty)
npm ERR! Darwin 15.3.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" "git://github.com/mgostisha/alloy-smelter.git"
npm ERR! node v6.2.1
npm ERR! npm v3.10.9
npm ERR! code ELIFECYCLE
npm ERR! [email protected] install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the base64 package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs base64
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls base64
npm ERR! There is likely additional logging output above.
$ smelter generate controller foo -T someWindow
template dir to process.env.HOME/.smelter/template/someWindow/controller.js, view.xml, style.tss
.
for copy and move on if exists destination name.
便利に使わせてもらっています。ありがとうございます。
copy move remove とかの際に、controller 配下にある*.js と共に *.coffee が存在すれば、それも 対象になると嬉しいです。
<Alloy>
<!-- comment -->
<Window/>
</Alloy>
refs https://github.com/appcelerator/titanium_releases
$ smelter install 3_4_X
Would be perfect ;)
'#ffffff' !== '#FFFFFF'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.