1
0
mirror of https://github.com/robertkrimen/otto synced 2025-10-26 20:28:49 +08:00

Initial commit

This commit is contained in:
Robert Krimen
2012-10-05 18:47:53 -07:00
commit 4a8c7ffc00
52 changed files with 18194 additions and 0 deletions

45
Makefile Normal file
View File

@@ -0,0 +1,45 @@
.PHONY: test assets todo fixme otto run test-all README
export TERST_BASE=$(PWD)
TEST := -v --run RegExp
TEST := -v --run Otto
TEST := -v --run underscore
TEST := -v --run underscoreCollection
TEST := -v --run Speed
TEST := -v --run underscoreUtility
TEST := -v --run Array_slice
TEST := -v --run Date
TEST := -v .
TEST := -v --run Lexer
TEST := -v --run Synopsis
TEST := -v --run ParseFailure
TEST := -v --run _eval
TEST := -v --run Broken
TEST := -v --run ParseSuccess
TEST := .
test:
go test $(TEST)
assets:
mkdir -p .assets
for file in underscore/test/*.js; do tr "\`" "_" < $$file > .assets/`basename $$file`; done
todo:
ack -l TODO *.go
fixme:
ack -l FIXME *.go
otto:
cd otto && go build
run:
go run -a ./otto/main.go ./otto.js
test-all:
go test .
README:
godoc . > README