grunt plugins for Tizen apps, creating zip files, and running mocha tests

The short version

I wrote some grunt plugins for managing Tizen application development and doing related stuff:

  • grunt-tizen: For pushing packages (or other files) to a Tizen device, installing/uninstalling them, and starting/stopping applications (via sdb).
  • grunt-zipup: For creating zip files with customisable, template-based filenames; as Tizen web apps are just zip files with a wgt suffix, it can also be used to create those.
  • grunt-mochaccino: For running mocha tests within a grunt build, using the mocha command line rather than the mocha API. This was developed for unit testing the above plugins, but can be used to run mocha tests for any project.

They are all available from github at the links above, or can be installed via npm (instructions in the READMEs).

They are all released under the Apache v2 license.

The long version

I've been working on Tizen-related applications (most notably some of the web apps) for a few months. (The Slider Puzzle I rewrote should work in very recent Firefox and Chrome.)

One aim was to get these applications to run on Tizen devices, partly as they are included as samples in the Tizen SDK. My colleagues have done some good work on the SDK, but, unfortunately, it doesn't yet support the Linux distribution I use (Fedora, currently version 17). So I had a requirement to install web apps on Tizen, but without the possibility of using the SDK.

Fortunately, one of the key tools for interacting with a Tizen device is sdb (Smart Development Bridge), which is a fork of the Android adb tool. It works over a network connection between the device and a developer machine, usually over a USB cable, enabling file transfer between the two and access to a shell on the device. sdb is very easy to build on Linux, so it wasn't long before I had a way to push web app packages to my device, get a command line on the same device, then use the Tizen package tools (wrt-installer and pkgcmd) to install the package, then running it in debug mode and remotely debugging it (via wrt-launcher).

As with all these things, I soon got bored with entering the same commands over and over, so I wrote some bash scripts to automate pushing the package, starting the shell, executing the command, and opening a debug session. One of my colleagues started using the same scripts, so I made them more portable and robust.

Alongside this, I was using the venerable grunt to minify my JavaScript/CSS/images etc. But this meant two build tools (bash scripts + grunt) in use at once, which would never do. So I started integrating the bash scripts with grunt, and gradually replacing calls to command line programs where possible with grunt plugins.

The result is the three plugins mentioned at the start of this post. They've been tested on Fedora Linux and Windows 7, and are hopefully fairly easy to use (I spent quite a bit of time on documentation).

Please try them, and, if you're so inclined, contribute via github (pull requests and issues).


The web site is lovingly

The web site is lovingly serviced and saved as much as date. So it should be, thanks for sharing this with us. womens gym vests

I like viewing web sites

I like viewing web sites which comprehend the price of delivering the excellent useful resource free of

Great info! I recently came

Great info! I recently came across your blog and have been reading along. I thought I would leave my first comment. I don’t know what to say except that I have. instagram profilime bakanlar

We keep up with the latest

We keep up with the latest techniques of building and have qualified tradesmen to ensure that your job/project is carried out safely. We also make sure that we keep to the highest standards on projects and everyone who works for us is health & safety trained. f8 autoliker

I’m happy I located this

I’m happy I located this blog! From time to time, students want to cognitive the keys of productive literary essays composing. Your first-class knowledge about this good post can become a proper basis for such people. craigslist posting

Thank you for the sensible

Thank you for the sensible critique. Me & my neighbour were preparing to do some research about that. We got a good book on that matter from our local library and most books where not as influensive as your information weed wacker reviews

I would also motivate just

I would also motivate just about every person to save this web page for any favorite assistance to assist posted the appearance. burlington nc marriage counseling

I don’t have the time at

I don’t have the time at the moment to fully read your site but I have bookmarked it and also add your RSS feeds. I will be back in a day or two.iso 9001 livorno

i have enjoyed this great

i have enjoyed this great information so much. This was really very interesting and helpful to read. I cant wait to read more from this site. videos

I'm going to read this. I'll

I'm going to read this. I'll be sure to come back. thanks for sharing. and also This article gives the light in which we can observe the reality. this is very nice one and gives indepth information. thanks for this nice article Anuncios gratis online

The web site is lovingly

The web site is lovingly serviced and saved as much as date. So it should be, thanks for sharing this with us. Hacker para dragon city

Great info! I recently came

Great info! I recently came across your blog and have been reading along. I thought I would leave my first comment. I don’t know what to say except that I have. cuentas minecraft gratis

I simply wanted to write

I simply wanted to write down a quick word in order to say thanks to you for those wonderful tips and hints you are showing on this site.quotes of wisdom


I found this website informative. This site owner did work very well. I think you must add more posts on different topics which is helpful for your website.
cheapest desert safari dubai


Good post. I was checking consistently this blog and I am impressed. Quite useful information specially the final component. I was looking for this distinct information for a pretty long time. And know i am very happy after visiting your blog. Very nice work and thanks for sharing.

If you don’t have the

If you don’t have the funds or cut to become a traditional traditional business business owner, don’t really feel disappointed. You may still find a quantity of business opportunities readily available for you which could bring a person tremendous prosperity. All you’ll need is some type of computer and an Web connection.


It's great to hear from you again. After watching such stuff, i am really impressed. Keep it up the good work from now to onwards and I will be returning to you for my queries. You are doing appreciable job and thanks for sharing.

It is crucial that your

It is crucial that your company has a powerful presence inside your market host to choice. One method to ensure that the brand image includes a significant status is through dressing your own staff within premier clothes. When your visitors enter the actual premises,

This app is great it zip

This app is great it zip files more accurately then other zipping apps. Thanks for telling its features in detail. gymnastic mats in different sizes

One invariable priority

One invariable priority inside your everyday business ought to be marketing. Your own consistency within advertising as well as promoting your own product and/or support spells the actual difference in between progress as well as downfall.


Some interesting stuff, I write about repairing bad sectors on my site, so maybe I could direct my viewers to here, for more computer related information.

cara menghilangkan jerawat

Penampilan adalah nomor satu bagi sebagian orang. Untuk menunjang penampilan biasanya seseorang menggunakan parfum original dengan kualitas bagus sesuai dengan karakter orang tersebut. Selain itu, wajah menjadi perhatian khusus. Menghilangkan jerawat dari wajah dapat menjaga penampilan lebih baik. Kunjungi situs Tunsa untuk mendapat tips seputar penampilan dan kecantikan

This is my initial date i

This is my initial date i stopover here. I discovered so numerous entertaining things in your blog, essentially its deliberation. From the tons of notes on your essays, I surmise I am hardly the solely unit holding sum the idle here! Retain up the incredible process.
Buy Laptop Bags Online

Organising safety watching

Organising safety watching photographic surveillance camera methods and your house or business office may be a clever determination which you can keep watch over every among the many routines. digitalcamerasegment

Interesting. I would agree

Interesting. I would agree that focusing on growth vs cost control during the early stages of a business is ideal, however, there will be a point when that shifts.
bcaa supplement

Which includes a Sony very

Which includes a Sony very useful cam camcorder generally offer the most beneficial from any engineering earth so as to people who end up ready to use a chance alongside make investments an individual's salary on a single. handycamsegment

I think this really is an

I think this really is an informative post and it's quite useful and knowledgeable. consequently, I'd like to thank you for the efforts you might have made in writing this article. Best Astrologer in India

townx | All about open source

certainly like your website but you need to check the spelling on several of your posts.
Several of them are rife with spelling problems and I to
find it very bothersome to tell the reality on the other hand I'll definitely come again again.

Organising safety watching

Organising safety watching photographic surveillance camera methods and your house or business office may be a clever determination which you can keep watch over every among the many routines. skincaresegment

Learn more here:

Learn more here:

It's not possible to trust

It's not possible to trust any specific reckless new driver driving on the road. The advent belonging to the internet contains made vehicle insurance a exceptionally competitive advertise, and with plenty of companies you can get, insurers are way less likely taking your credit report into credit account than these people were up to now. With poor annual usage, many older residents will get they can make big savings on their vehicle insurance by taking the time to achieve some consideration shopping and searching for car insurers with such custom vehicle insurance policies.

Thank you !

Thanks a lot.. btw which theme are you using?

Core East is a common

Core East is a common tourist destination for anyone from internationally and since may be people seeing different countries in the center East is without a doubt increasing year after year the interest of insurance is in addition increasing. Most people's like so you can get insured on a trip to go over any mishap within the tour, enjoy any clinical emergency, or any risk with that luggage and the airline as insurance plans for flying covers practically all such aspects on a trip. dau to insurance

TV serials, family dramas or

TV serials, family dramas or even a show based on social causes are programs that are shown on TV these days. The basic premise of daily soaps these days are large families with the protagonists, their family along with friends are the main focus of the show. Qubool Hai is an extremely popular Muslim family drama that is aired on Zee TV. Qubool Hai

Through passing precious

Through passing precious time and ascending help the procedures and that plans are actually extended. It is recommended for the individual to enquire all the details and understanding of the policies besides other aspects which sometimes help whomever to secure developed and even learn the aspects. It is without a doubt import to help you realise the significance of that Suffolk County auto insuranc procedures as there's a lot of such companies with the field. It might be not worthy of the companies to see the basic tips ad the specifics of the suppliers. auto insurance dr

you do have a quite

you do have a quite excellent internet site right here! must you help to make a few acquire blogposts with our internet site?

That truck insurance is

That truck insurance is known as a different style ofinsuranc shows up under motorinsuranc component. Since a possibility involvements through cargo keeping trucks fluctuate from several other vehicles, theinsuranc suppliers do give some thought to truckinsuranc to provide a difference style under motorinsuranc. Then again, generally, some people do give some thought to truck insuranc with commercial truck section, nevertheless rating and even scope in cover can be varying. child family policy


Running that throughout debug mode along Modeling Agencies in Tampa remotely debugging that (via wrt-launcher).

Most learners ıs going to

Most learners ıs going to be obtaining an important restricted allowance, to ensure that they'll most be searching designed for inexpensive and low-listed special occasions. Which is without a doubt wherever the correct way old you have been and Individual standing will be able to arrives on beneficial. Assuming you have students card in the college and school, learn in cases where it makes it possible for you to help you undoubtedly any kind advantages. Some Individual cards can assist with students reduction prices at trains and even buses, whilst some might permit students to put together certain can provide at eateries too simply because on hotels. trentino travel

I haven't been deleting

I haven't been deleting thousands of comment spams a week on my blog for a long loan calculator

As we talk around travelling

As we talk around travelling then there's a lot of modes in transportation obtainable for us enjoy water take, road take, air transport and other. However the fee for transportation varies about the type you decide. Travelers choose as well as the transportation about their emergency of moving and finance positions. Assigned all ticket transportation isthe most convenient mode in travelling and the fee for air ticket is in addition expensive versus other categories of transportation. all sports travel

خرید وی پی ان

خرید وی پی ان

Guar protein ffer a wide

Guar protein ffer a wide selection of products for your specific requirements. Established in the year 2008, we are one of the leading Manufacturer, Exporter and Supplier of Compound Guar Protein Meal Feeds and Poultry Feeds.
Guar Meal korma
Microlam korma
Guar korma exporter

Even the prettiest websites

Even the prettiest websites online aren’t the most successful ones. It takes more than a pretty site with bells and whistles to make a website successful. That is where Syracuse Web Pages comes in, located in Syracuse NY we can offer you a great looking site but one that is easy to use and easy to navigate.
Syracuse NY Wordpress service
Graphic design Syracuse NY

This plugin is awesome .I

This plugin is awesome .I want to use for my website Dtunes . Will you share wordpress templates free ?

As along many these

As along many these creatures, I later got bored along entering the unchanging sways excess plus excess, so I wrote several swat penmanships to automate pushing the box, starting the husk, executing the domineer, plus slit a debug term. get a free quote

I am researching this topic

I am researching this topic for use in a future business I am thinking about starting. Thank you for this information, it has been educational and helpful to me.
attorney reviews

Specialist hotels seek out

Specialist hotels seek out to join the surroundings of luxury proposed by global lodge organisations while using personalised service furnished by its smaller sized cousins. From the outset of the actual global tough economy in 2008, the take a trip industry - which got experienced buoyant growth in the boom several years - braced itself for the downturn. asia boutique resorts

Your article tells me you

Your article tells me you must have a lot of background in this topic. Can you direct me to other articles about this? I will recommend this article to my friends as well. Thanks
desk chairs

I am doing a report on this

I am doing a report on this subject. Your article is full of really useful information. I will make sure to come back to check out your posts for my next report. Cheers
how to be a better student

A very informative article

You did nice work your post is awesome its increase my knowledge.the post is best i can never read before this type of post nice sharing. keep it up
serum rambut
Pembesar Payudara
terapi anak

I really appreciate it so

I really appreciate it so much. It was a very good and interesting to say the least article. Thank you! I work for a design company and I really learned a lot from this great site. - Rabbi Binyomin Lisbon


I’m great fired up to help figure out it to help anyone. Printed Circuit Board Supplier

Really a very good read and

Really a very good read and very motivating.
Small kitchen remodeling
Bathroom design rochester NY

Would you like to know where

Would you like to know where or how to watch TV shows online for free? If you are crazy for watch online TV shows then you come to the right place. Here I will tell you how to watch your favorite TV shows online. You can see most of your favorite network shows by just streaming them from the networks' sites. the hindi serials

Ce plug-in est bon, il

Ce plug-in est bon, il semble correct.
- replique montres

Are you Sure about that?

I don't think you are completely true, are you sure?

Thanks for the great

Thanks for the great plugin
- casing hp
- honda mobilio

Indeed great!

i activated it on my blog


One of my colleagues started using the same scripts, Nulled wordpress themes I made them more portable and robust.

That’s hardly ever any

That’s hardly ever any repugnant option, possible to avoid so that you can significant, nevertheless it definitely can easily penny-pinching which usually you’re generating some sort of predominant teaching which usually any charity throw linked to palpables acquire made before. Marijuana Seeds Canada

Cheers therefore luxurious

Cheers therefore luxurious together with that great badly informed entail terrain. I’m great fired up to help figure out it to help anyone. powered essays

Great job Elliot... thanks

Great job Elliot... thanks for sharing this grunt plugins.

- Kendaraan : Mobil Sedan Corolla
- Marketing : Cara Meningkatkan Penjualan Online

As part of a college thesis

As part of a college thesis for research I have to search sites with relevant information on given topic and provide them to teacher our opinion and the article. Your article helped me a lot.
free vpn service

Almost every show has a

Almost every show has a strong religious, social as well as cultural link, which immediately connects with an Indian television viewer. Many people may often relate on-screen characters with people associated in their daily-lives such as their mother-in-law, brother, etc. Music plays a strong element on these shows and is known to capture various emotions as well as moments.  Jodha Akbar

good job

Thank your for share. I hope you are going to share once more.

- The Ultimate Herpes Protocol Review
- blog health reviews online
This opinion is certainly one for the real men crave affection. - capture his heart review why a sense of "love and affection" a woman is higher than in men? Third, what is the mystery of the woman, ...

This method

This method Old School New body will keep the leptin (a hormone that acts on the brain to control food intake Old School New body book and body weight) levels at optimal. The Venus Factor Book is undoubtedly a real deal when it comes to helping people The Venus Factor , when there is itching or tingling in the area where the sores Old School New Body Review generally appear. Having a baby The Pregnancy Miracle can be expensive. But if you’re on a low income The Pregnancy Miracle Book there are benefits available. You could be eligible for a grant to buy baby things, The Pregnancy Miracle Review and vouchers to help you and your baby eat healthily. particularly women, The virus can also be passed The Ultimate Herpes Protocol . during the preactive state crave affection. -


Seem to know so much about this, like you wrote the book in it or something. I think that you could do with some pics to drive the message home a bit, but other than that, this is great blog.
Serum : serum rambut
Payudara: pembesar payudara


This is a really good way to preserve the energy and I will try to use it! Modeling Agencies in Tampa

book list

I have read several books on your list 2013 and are fantastic, a high recommendation