Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 35 lines (27 sloc) 586 Bytes
#!/usr/bin/env coffee
project = 'swift-is-like-kotlin'
require 'shelljs/make'
path = require 'path'
mission = require 'mission'
mission.time()
cirru = (data) ->
mission.cirruHtml
file: 'index.cirru'
from: 'cirru/'
to: './'
extname: '.html'
data: data
target.dev = ->
cirru inDev: yes
target.watch = ->
station = mission.reload()
mission.watch
files: ['cirru/', 'code/']
trigger: (filepath, extname) ->
cirru inDev: yes
station.reload project
target.patch = ->
mission.bump
file: 'package.json'
options:
at: 'patch'