Commit Graph

1040 Commits

Author SHA1 Message Date
John Wiegley
e9006ff98b
Fix a problem with static processing of imports 2018-05-09 13:36:06 -07:00
John Wiegley
b3fdc43998
Update pinned version of nixpkgs 2018-05-09 13:00:51 -07:00
John Wiegley
addea54208
Add more missing files 2018-05-09 10:59:08 -07:00
John Wiegley
f5155a12dd
Add files missing from Hackage tarball, bump to 0.5.1 2018-05-09 10:43:25 -07:00
John Wiegley
c4127b6067
Add another entry to .gitignore 2018-05-09 01:43:52 -07:00
John Wiegley
d191a7587d
Add test case_unsafegetattrpos 2018-05-09 01:43:33 -07:00
John Wiegley
a03cf78ce2
Use nix-instantiate --eval --strict for comparison tests 2018-05-09 01:39:29 -07:00
John Wiegley
89082083ff
Add nix/, created during testing, to .gitignore 2018-05-09 01:25:12 -07:00
John Wiegley
15baa5c8b8
Track attribute source positions in the binding, not the key name 2018-05-09 01:25:01 -07:00
John Wiegley
ba0dc19d2d
Work from mightybyte: Minimize deps required, for building with GHCJS 2018-05-08 16:41:15 -07:00
John Wiegley
4c0d79e769
Remove an import that was causing a warning 2018-05-08 13:12:00 -07:00
John Wiegley
6770046492
During testing, set the store to the current directory 2018-05-08 12:16:13 -07:00
John Wiegley
449d6611df
Remove the Uri type, it's just sugar
Fixes #308
2018-05-08 12:15:50 -07:00
John Wiegley
8c1dccb123
Ignore the dist/ directory in Docker 2018-05-08 12:15:27 -07:00
John Wiegley
aab22fcc68
Set NIX_REMOTE for running the full language tests under Docker 2018-05-07 13:17:44 -07:00
John Wiegley
7b71450003
Remove PLAN.org, in favor of using GitHub projects 2018-05-07 13:05:30 -07:00
John Wiegley
77add19a23
No longer a need to set LANGUAGE_TESTS=yes in .travis.yml 2018-05-07 12:46:08 -07:00
John Wiegley
e35a78f067
Always enable the Nix language tests 2018-05-07 12:45:51 -07:00
John Wiegley
5176cffd2d
Add a Docker build, as another way of testing out hnix 2018-05-07 12:45:37 -07:00
John Wiegley
080f5ead1d
When running nix-instantiate in the tests, use a temporary store 2018-05-07 12:38:24 -07:00
John Wiegley
ce3b0d70e9
Move all of the parsing code into a single module, for optimization 2018-05-07 12:06:56 -07:00
John Wiegley
e6e117f6b7
Disable the builtins.path test for now, until #128 is fixed 2018-05-07 12:06:45 -07:00
John Wiegley
ee1f148235
Change to the build matrix 2018-05-06 23:17:26 -07:00
John Wiegley
ef70f44be1
Don't use sudo: false in .travis.yml 2018-05-06 22:14:54 -07:00
John Wiegley
76a54f5580
Fix to the pretty printing of @ names 2018-05-06 22:14:01 -07:00
John Wiegley
1a376598a6
Pretty print expressions when using -v5 and just --parse 2018-05-06 22:13:44 -07:00
John Wiegley
2457efdaa3
Only invoke pretty/parser tests if PRETTY_TESTS=<N> for some N>0 2018-05-06 22:13:30 -07:00
John Wiegley
ac3ab07b8b
Disable caching for Travis builds, it exceeds the one hour time limit 2018-05-06 21:09:07 -07:00
John Wiegley
9bf8b4e8be
Increase the build timeout in .travis.yml, maybe it will let caching work? 2018-05-06 20:43:32 -07:00
John Wiegley
71820ca2da
Expand the build matrix 2018-05-06 19:58:57 -07:00
John Wiegley
17ad13082c
Build the pending branch, to allow for Travis testing outside of master 2018-05-06 19:58:00 -07:00
John Wiegley
fbd6c94eaf
Use nix-shell in .travis.yml, not nix-env 2018-05-06 19:57:39 -07:00
John Wiegley
540052e28d
More Travis changes 2018-05-06 19:55:23 -07:00
John Wiegley
109ba50877
Update .travis.yml 2018-05-06 16:23:12 -07:00
John Wiegley
449f961dcd
Update .travis.yml 2018-05-06 16:22:03 -07:00
John Wiegley
c0a670e944
Update .travis.yml 2018-05-06 16:15:24 -07:00
John Wiegley
fb5993c0fa
Add some additional testing files 2018-05-06 12:56:43 -07:00
John Wiegley
439c819bba
Merge pull request #306 from jwiegley/cache
Try using caching on Travis
2018-05-06 12:50:40 -07:00
John Wiegley
9a499a4bd4
Build with profiling enabled, as an extra check
Since this is a superset of what is needed to build without profiling.
2018-05-06 12:49:34 -07:00
John Wiegley
e2a6a65d35 Try using caching on Travis 2018-05-06 12:30:54 -07:00
John Wiegley
ce35811f29 Resolve a build warning 2018-05-06 12:30:16 -07:00
John Wiegley
1a7ec43199 Disable PrettyParseTests for now 2018-05-06 11:14:53 -07:00
John Wiegley
90a42c3c7d
Merge pull request #301 from jwiegley/master
Make use of lens-family to provide some utility lenses/traversals
2018-05-06 10:44:26 -07:00
John Wiegley
1895cff9cc Update hnix.cabal 2018-05-06 10:43:51 -07:00
John Wiegley
b79a44bd95 Don't include Control.Applicative where not necessary 2018-05-06 10:43:43 -07:00
John Wiegley
e7a6456a35 Make use of lens-family to provide some utility lenses/traversals 2018-05-06 10:43:43 -07:00
John Wiegley
05088a9dbd
Merge pull request #302 from BlairArchibald/fix/280
Fix #280. unsafeGetAttrPos should return null.
2018-05-06 10:41:38 -07:00
John Wiegley
b886e5825e
Merge pull request #229 from mpickering/quickcheck-expr
Add QuickCheck test for pretty printer and parser
2018-05-06 10:41:05 -07:00
Blair Archibald
aae7f13ab1 Fix #280. unsafeGetAttrPos should return null.
According to the expected test output, unsafeGetAttrPos should fail silently and
return null if it can't find a position for the field (e.g when looking up
builtins).
2018-05-06 13:17:43 +01:00
Matthew Pickering
ae0167110d Escape paths when used in a selector
./a."abc" gets parsed as App (./a.) "abc"
when pretty printing, it is necessary to escape the path to
${./a}."abc" so that it is then parsed correctly.
2018-05-06 10:31:52 +00:00