From 9d147be17c5455b160f886c730b263b1bed4a41e Mon Sep 17 00:00:00 2001 From: dsc Date: Sun, 19 Feb 2012 18:12:03 -0800 Subject: [PATCH] Fixes module name. --- Cokefile | 10 +++------- 1 files changed, 3 insertions(+), 7 deletions(-) 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' -> -- 1.7.0.4