--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Rakefile Mon Feb 09 09:20:01 2015 -0800
@@ -0,0 +1,52 @@
+#!rake
+# vim: set nosta noet ts=4 sw=4:
+
+require 'rake'
+require 'pathname'
+
+BASEDIR = Pathname.new( __FILE__ ).expand_path.dirname.relative_path_from( Pathname.getwd )
+NODEWEBKIT = '/Applications/node-webkit.app/Contents/MacOS/node-webkit'
+
+manifest = File.read( __FILE__ ).split( /^__END__/, 2 ).last.split
+manifest.each do |dep|
+ file dep
+end
+
+########################################################################
+### T A S K S
+########################################################################
+
+task :default => [ :run ]
+
+desc "Run the application."
+task :run do
+ sh NODEWEBKIT, BASEDIR.to_s
+end
+
+desc "Package a node-webkit bundle."
+task :build => manifest do
+ sh 'zip', '-r', 'app.nw', *manifest
+end
+
+
+########################################################################
+### M A N I F E S T
+########################################################################
+__END__
+css/main.css
+css/pure-min.css
+html/main.html
+img/yubi.png
+js/can.jquery-2.1.1.js
+js/jquery-2.1.1.js
+js/main.js
+js/startup.js
+js/yubi.js
+package.json
+platform/osx/app.icns
+platform/osx/Info.plist
+yubi/darwin/bin/ykinfo
+yubi/darwin/bin/ykpersonalize
+yubi/darwin/lib/libyubikey.0.dylib
+yubi/darwin/lib/libyubikey.a
+yubi/darwin/lib/libyubikey.dylib