     .pipe filter('!**/main.ls')
     .pipe lsc({bare:true}) .on 'error', gutil.log
     .pipe cond isRelease, uglify()
-    .pipe gulp.dest (path.join outputdir, 'lib')
+    .pipe gulp.dest (out 'lib')
 
 gulp.task 'browserify', ['script'], ->
   gulp.src SOURCES

    .pipe clean()

gulp.task 'clean:out', ->
  gulp.src ['app/css', 'app/lib', '*.html']
    .pipe clean()





isRelease = gutil.env.release?


# sources
SOURCES  = ['src/*.ls']
