UNPKG

tarifa

Version:

Your friendly toolchain for mobile app development on top of Apache Cordova

25 lines (21 loc) 626 B
var test = require('tape'), spawn = require('tape-spawn'), format = require('util').format, h = require('../helpers'); h.platforms().forEach(function (platform) { test(format('cli: tarifa clean %s', platform), function (t) { var st = spawn(t, h.cmd(format('clean %s --verbose', platform)), { stdio: 'inherit' }); st.succeeds(); st.end(); }); }); test('cli: tarifa clean', function (t) { var st = spawn(t, h.cmd('clean --verbose'), { stdio: 'inherit' }); st.succeeds(); st.end(); }); test('cli: tarifa clean -h', h.usageTest('clean'));