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 01.org 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).

Comments

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.

Learn more here:

Learn more here: 192.168.1.254

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. http://www.insurancehealthquote.net/

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? http://www.herbalalami.co.id

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

nexus

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 time.auto 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 ?
Thanks

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

nexus

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?
constipation

Thanks for the great

Thanks for the great plugin
- casing hp
- honda mobilio

Indeed great!

i activated it on my blog

nexus

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.

Regards,
- 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. -

Incredible!

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

nexus

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