Skip to content

Commit 6f6f9bf

Browse files
committed
big merge with coco. also readded mode-ls for ace - closes satyr#77, closes satyr#86, getting there on satyr#42 but needs more work
2 parents 06a6993 + 203973a commit 6f6f9bf

25 files changed

+905
-239
lines changed

Slakefile

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,10 @@ minify = ->
3434

3535
task \install 'install LiveScript via npm' -> shell 'npm install -g .'
3636

37-
docs = <[ doc.ls ]>
38-
3937
task \build 'build lib/ from src/' ->
40-
ext = /\.ls$/; webs = docs
38+
ext = /\.ls$/
4139
sources = for file in dir \src
42-
\src/ + file if ext.test file and file not in webs
40+
\src/ + file if ext.test file
4341
run [\-bco \lib] +++ sources
4442

4543
task \build:full 'build twice and run tests' ->
@@ -54,12 +52,6 @@ task \build:parser 'build lib/parser.js from lib/grammar.js' ->
5452
.replace /(:[^]+?break;)(?=\ncase \d+\1)/g \:
5553
.replace /(:return .+)\nbreak;/g \$1
5654

57-
task \build:doc 'build doc/' ->
58-
<- docs.forEach
59-
name = it.slice 0 -3; js = require(\./lib/livescript)compile slurp \src/ + it
60-
fs.writeFile "doc/#name.raw.js" js
61-
slobber "doc/#name.js" minify js
62-
6355
task \build:browser 'build extras/' ->
6456
LiveScript = require \./lib/livescript
6557
co = ''

0 commit comments

Comments
 (0)