Commit Graph

227 Commits

Author SHA1 Message Date
Kamil Shakirov
f6e04b99ad Merge branch 'master' into misc-fixes 2020-05-20 16:27:55 +06:00
Edwin Brady
fd55e629ee Copy more files over from Idris2 2020-05-20 11:23:04 +01:00
Edwin Brady
d3fab2d28f Fix typo in bootstrap script 2020-05-20 11:12:54 +01:00
Edwin Brady
8fbce0cdc1 Also need to pass through data directory 2020-05-20 11:02:49 +01:00
Kamil Shakirov
ffc1b490bd Merge branch 'master' into misc-fixes 2020-05-20 16:00:43 +06:00
Edwin Brady
87f0c1c6be Bootstrap script needs to know library path
This is for locating the libraries for copying to the chez executable.
If they're not installed yet, it'll look in the wrong place.
2020-05-20 10:52:18 +01:00
Edwin Brady
b39df83002 Maybe the tests need the library path...
It's surprising because the chez startup script should set it, but let's
see what happens anyway.
2020-05-20 10:48:29 +01:00
Kamil Shakirov
38b4fe6aca Merge branch 'master' into misc-fixes 2020-05-20 15:45:55 +06:00
Edwin Brady
65f7fb6ab8 Minor edit to bootstrap script
It's better if the tests aren't interactive, since they're intended for
running on CI as well as to give an idea of whether building was
successful, rather than to give an idea of what has gone wrong.
2020-05-20 10:38:56 +01:00
Edwin Brady
77c218435b Reorganise some bootstrap/travis steps 2020-05-20 10:33:40 +01:00
Kamil Shakirov
880981d5b4 More fixes and improvements
* Ignore build artifacts in 'tests' directory
* Remove unused variables in makefiles
* Add 'bootstrap-clean' rule to delete build artifacts from 'bootstrap' directory
* Add 'distclean' rule to delete all build artifacts from the source tree
2020-05-20 15:31:30 +06:00
Edwin Brady
6437d8070b Need a sudo 2020-05-20 10:24:55 +01:00
Edwin Brady
f61f0a5c40 Fix typo in error
(Okay, this is just to see if travis does something...)
2020-05-20 10:23:22 +01:00
Edwin Brady
ca3d519291 Experiment with setting up Travis
I have no idea what I'm doing
2020-05-20 10:21:35 +01:00
Edwin Brady
9eba9113dd Update racket bootstrap scripts
Need to pass the LD_LIBRARY_PATH all the way through or racket doesn't
know where to look. I really don't know why it doesn't work to just set
it at the top level in the script, but it didn't (on my Mac, at least).
2020-05-20 00:03:39 +01:00
Joshua Hillerup
6c4cf6ff82 Ignoring autogenerated bootstrap/test files 2020-05-19 18:46:57 -04:00
Edwin Brady
746df34470 Don't overwrite idris2sh.rkt
Better to copy and update the new version with the prefix
2020-05-19 23:01:04 +01:00
Edwin Brady
5b88afb3ef Add racket bootstrap script 2020-05-19 22:56:27 +01:00
Edwin Brady
a5638e0aac Update bootstrap scheme
The older version had a lingering bug from upstream Idris in writing
Integers to TTC
2020-05-19 21:42:24 +01:00
Edwin Brady
ddd3ff151d Fix up bootstrap scripts
They weren't quite right; I've now successfully built from the script on
a machine with only Chez available.
2020-05-19 21:39:36 +01:00
Fabián Heredia Montiel
868c71b863 Refactor Utils.String.stripQuotes to avoid double reversion on Strings 2020-05-19 15:33:58 -05:00
Edwin Brady
7defc40c47 Better bootstrapping process 2020-05-19 21:08:32 +01:00
Christian Rasmussen
5281de93e0 Fix chez016 test 2020-05-19 22:02:15 +02:00
Edwin Brady
9213b65ee1 Update INSTALL.md
make clean does a better job than just cleaning the build directories
2020-05-19 20:31:04 +01:00
Edwin Brady
bd6a4903b5 Finish tests 2020-05-19 20:06:37 +01:00
Edwin Brady
63f0dae035 Remove some tests which are no longer useful
These are ttimp tests that are now subsumed by idris2 tests, and we'd
need to implement some ttimp source that isn't really worth it at this
stage.
2020-05-19 18:31:52 +01:00
Edwin Brady
a972778eab Add test script
They don't all pass yet, for minor reasons. Coming shortly...
Unfortunately the startup overhead for chez is really noticeable here!
2020-05-19 18:25:18 +01:00
Edwin Brady
42533c2d90 Add missing Racket requires 2020-05-19 18:06:52 +01:00
Fabián Heredia Montiel
0c76796862 Create new mapError utility function and refactor some parser code 2020-05-19 11:08:21 -05:00
Edwin Brady
2569b6e991 Update libraries from upstream 2020-05-19 17:03:18 +01:00
Edwin Brady
3eb67aebd8 Install support library to PREFIX/lib
If you happen to build via racket, putting it in a place where the
system knows to look means that it will successfully run the executable.
2020-05-19 16:28:24 +01:00
Edwin Brady
48c6c4aa81 Write Ints as 64 bit
Since they might be... This is especially likely for module hashes, and
if we don't get it right, the Racket runtime might fail to write the
buffer. This makes the code buildable with the Racket back end.
2020-05-19 16:25:58 +01:00
Edwin Brady
a9784bfd20
Merge pull request #5 from melted/fix_win
Make network test build on windows
2020-05-19 16:23:49 +01:00
Edwin Brady
aea34ab83e
Merge branch 'master' into fix_win 2020-05-19 16:23:30 +01:00
Edwin Brady
8380a6fa9e
Merge pull request #4 from ska80/refactor-makefiles
Refactor makefiles
2020-05-19 16:23:06 +01:00
Edwin Brady
953e8f4913
Merge pull request #3 from ska80/ignore-files
Update .gitignore files
2020-05-19 16:22:41 +01:00
Edwin Brady
8994e54402 IDE mode ported
I've tested this in Atom, and the vim mode also works (in both cases,
just by changing the executable to point to the right place)
2020-05-19 15:13:58 +01:00
Niklas Larsson
efc595394b Make network test build on windows
Add a little to gitignore
2020-05-19 15:46:28 +02:00
Kamil Shakirov
b801b97fcc Refactor makefiles 2020-05-19 18:50:47 +06:00
Kamil Shakirov
47e943cc7d Update .gitignore files 2020-05-19 17:49:21 +06:00
Edwin Brady
f749f3e277
Merge pull request #2 from melted/fix_win
Windows fixes
2020-05-19 12:30:54 +01:00
Edwin Brady
6bbb914fca
Merge pull request #1 from edwinb/remove-directory-system
Add rmDir to System.Directory
2020-05-19 12:24:35 +01:00
Niklas Larsson
1bebd7d070 Windows fixes 2020-05-19 13:13:01 +02:00
Edwin Brady
ede324dc6c Don't collapse empty lines in 'lines'
Now the vim mode works!
2020-05-19 10:47:05 +01:00
Edwin Brady
e945cb88f2 Typo fix 2020-05-18 23:34:56 +01:00
Edwin Brady
0bbda746d2 Update README/typo in INSTALL 2020-05-18 23:31:25 +01:00
Edwin Brady
3634ec76b7 Finish bootstrap scripts
I got this working on my Mac, which doesn't have Idris 2 of any form
installed. So it might work... good luck!
2020-05-18 21:18:32 +01:00
Edwin Brady
b69068f4ff Update bootstrap scripts 2020-05-18 20:33:38 +01:00
Edwin Brady
456414cffd Generate IdrisPaths 2020-05-18 20:24:48 +01:00
André Videla
3321dc6be3 Add rmDir to System.Directory 2020-05-18 18:28:33 +01:00