From: dsc Date: Mon, 20 Feb 2012 02:12:03 +0000 (-0800) Subject: Fixes module name. X-Git-Url: http://git.less.ly:3516/?a=commitdiff_plain;h=9d147be17c5455b160f886c730b263b1bed4a41e;p=limn.git Fixes module name. --- diff --git a/Cokefile b/Cokefile index 7527c91..5384371 100644 --- a/Cokefile +++ b/Cokefile @@ -2,17 +2,13 @@ require 'buildtools' require 'buildtools/tasks' -PROJECT_NAME = 'kraken-ui' -MODULE_LINK = "node_modules/#PROJECT_NAME" - - - +MODULE_LINK = "node_modules/kraken" task \link 'Link package source to node_modules so the name resolves correctly' -> # Browser-based require doens't support relative requires, but things - # like `require 'kraken-ui/utils'` rarely work in node without this hack. + # like `require 'kraken/utils'` rarely work in node without this hack. mkdirp 'node_modules' if not exists MODULE_LINK - say "Creating #PROJECT_NAME symlink..." + say "Creating #{basename MODULE_LINK} symlink..." fs.symlinkSync "../lib", MODULE_LINK task \server 'Start dev server' ->