Skip to content

Commit

Permalink
Preparing for 0.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
alanz committed Apr 16, 2012
1 parent e8c28c1 commit 01fe149
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 36 deletions.
6 changes: 5 additions & 1 deletion README
Expand Up @@ -35,7 +35,11 @@ dependency in the cabal file.

Changes

0.5.1 Export CommentAnnotation(..)
0.5.1 Export CommentAnnotation(..). Simplify AST by getting rid of
JSFunctionBody, JSSourceElements, JSStatementBlock, JSStatementList.
They are replaced by JSBlock or a simple list.
Also fix lexer mode in presence of whitespace.
Changed way tests are invoked, to allow Travis integration.

0.5.0 Rework AST to allow full round-trip parsing and output of
JavaScript. Breaks AST compatibility with prior versions
Expand Down
52 changes: 17 additions & 35 deletions language-javascript.cabal
Expand Up @@ -22,41 +22,6 @@ Extra-source-files: README
-- Version requirement upped for test support in later Cabal
Cabal-version: >= 1.9.2

Test-Suite test-language-javascript
Type: exitcode-stdio-1.0
Main-is: runtests.hs
build-depends: base, Cabal >= 1.9.2
, QuickCheck >= 2 && < 3
, HUnit
, test-framework-hunit
, test-framework
, array >= 0.3 && < 0.5
, utf8-light >= 0.4 && < 1.0
, containers >= 0.2 && < 0.5
, mtl >= 1.1 && < 2.9
, utf8-string >= 0.3.7 && < 1
, bytestring >= 0.9.1 && < 1
, blaze-builder >= 0.2 && < 1
hs-source-dirs: . src ./dist/build


-- executable runtests
-- if flag(buildtests)
-- Buildable: True
-- cpp-options: -DTEST
-- build-depends: QuickCheck >= 2 && < 3,
-- HUnit,
-- test-framework-hunit,
-- test-framework
-- hs-source-dirs: . src ./dist/build
-- else
-- Buildable: False
-- main-is: runtests.hs


-- flag buildtests
-- description: Build the executable to run unit tests
-- default: False

Library
Build-depends: base >= 4 && < 5
Expand Down Expand Up @@ -85,6 +50,23 @@ Library
Build-tools: happy
ghc-options: -Wall

Test-Suite test-language-javascript
Type: exitcode-stdio-1.0
Main-is: runtests.hs
build-depends: base, Cabal >= 1.9.2
, QuickCheck >= 2 && < 3
, HUnit
, test-framework-hunit
, test-framework
, array >= 0.3 && < 0.5
, utf8-light >= 0.4 && < 1.0
, containers >= 0.2 && < 0.5
, mtl >= 1.1 && < 2.9
, utf8-string >= 0.3.7 && < 1
, bytestring >= 0.9.1 && < 1
, blaze-builder >= 0.2 && < 1
hs-source-dirs: . src ./dist/build


source-repository head
type: git
Expand Down

0 comments on commit 01fe149

Please sign in to comment.