Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Preparing for 0.5.1

  • Loading branch information...
commit 01fe1499194a99ba3ceadb77dc83234f1255816f 1 parent e8c28c1
@alanz alanz authored
Showing with 22 additions and 36 deletions.
  1. +5 −1 README
  2. +17 −35 language-javascript.cabal
View
6 README
@@ -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
View
52 language-javascript.cabal
@@ -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
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.