Leonardo de Moura
495b6a92e9
feat: add IO.sleep ms
...
I am going to use it in the documentation: `Task` examples.
2020-11-24 11:27:04 -08:00
Leonardo de Moura
fa04f46d55
doc: simplify begin..end macro
...
The method `getRef` returns the whole term being expanded.
@Kha The method was originially added for reporting error messages.
So, the name is counterintuitive.
2020-11-24 11:06:49 -08:00
Leonardo de Moura
3eaa4518a0
test: dependent pattern matching
2020-11-24 11:06:49 -08:00
Sebastian Ullrich
2c64441910
chore: Nix: disable dirty Git tree warning & fix lean4-diff-test-file
...
/cc @leodemoura
Note that you will have to restart Emacs and the "Lean shell" around it for the changes to take effect
2020-11-24 20:05:24 +01:00
Leonardo de Moura
8f1ad0411d
fix: fixes #220 and #223
2020-11-24 10:18:02 -08:00
Leonardo de Moura
5c39cd5120
chore: cleanup
2020-11-24 10:18:02 -08:00
Leonardo de Moura
ecfe590268
refactor: split Match.lean
2020-11-24 10:18:02 -08:00
Sebastian Ullrich
a180a4c080
fix: Nix: don't try to push PRs
2020-11-24 19:16:27 +01:00
Sebastian Ullrich
6be438d7b1
doc: Nix: more notes
2020-11-24 19:16:27 +01:00
Sebastian Ullrich
e9bb7c1175
fix: CI: macOS job
2020-11-24 19:16:27 +01:00
Sebastian Ullrich
6be577b634
fix: CI: Linux release job
2020-11-24 19:16:27 +01:00
Sebastian Ullrich
3e8693fac8
fix: Nix: provide .#lean-package etc. from Lean package
2020-11-24 19:16:27 +01:00
Sebastian Ullrich
4f89cbf9b9
doc: Nix: explain some warnings
...
/cc @leodemoura @javra
2020-11-24 19:16:27 +01:00
Sebastian Ullrich
bc0010b84c
fix: Nix: Lean module ccache
...
Now I remember again why I did that the way I did it
2020-11-24 19:16:27 +01:00
Sebastian Ullrich
d61cb698aa
chore: hide matrix parameters in CI job names
2020-11-24 19:16:27 +01:00
Sebastian Ullrich
1b302f328f
doc: fix Bash comment highlighting
2020-11-24 19:16:27 +01:00
Sebastian Ullrich
e0d9bc2f9b
chore: Nix: simplify flake.nix after all and fix shell.nix
2020-11-24 19:16:27 +01:00
Sebastian Ullrich
a5ad46f7be
feat: Nix: mdbook
2020-11-24 19:16:27 +01:00
Sebastian Ullrich
ffb8e1904b
doc: Nix setup
2020-11-24 19:16:27 +01:00
Sebastian Ullrich
58d97def40
chore: Nix: cache .o files on macOS as well
2020-11-24 19:16:27 +01:00
Sebastian Ullrich
fc6ddcef94
chore: Nix: fix nix run
2020-11-24 19:16:27 +01:00
Sebastian Ullrich
e167085429
doc: remove outdated description
2020-11-24 19:16:27 +01:00
Sebastian Ullrich
2794ae76f9
feat: Nix: update-stage0
2020-11-24 19:16:27 +01:00
Sebastian Ullrich
b02413120f
chore: Nix: preserve module directory structure in .c and .o outputs
...
This simplifies update-stage0 and makes linker errors from static libraries less confusing
2020-11-24 19:16:27 +01:00
Sebastian Ullrich
b3165709d2
chore: Nix: writeScriptBin ~> writeShellScriptBin
2020-11-24 19:16:27 +01:00
Sebastian Ullrich
09d71cf3d3
chore: Nix: adjust depRoot drv name, build locally only
2020-11-24 19:16:27 +01:00
Sebastian Ullrich
574cc0b4a3
chore: Nix: do a single-user install after all so the ccache cache doesn't get confused about permissions
2020-11-24 19:16:27 +01:00
Sebastian Ullrich
ad8c551572
chore: Nix: reduce runtime closure of cmake derivations
2020-11-24 19:16:27 +01:00
Sebastian Ullrich
e094bdcd62
chore: Nix: print cumulative and per-line execution time on CI
2020-11-24 19:16:27 +01:00
Sebastian Ullrich
4061894943
chore: Nix: set up ccache config & fix ccache stats step
2020-11-24 19:16:27 +01:00
Sebastian Ullrich
feedb539cd
chore: import orphaned files in Lean
2020-11-24 19:16:27 +01:00
Sebastian Ullrich
a6f8ff94ca
chore: Nix: exclude leanmake test
2020-11-24 19:16:27 +01:00
Sebastian Ullrich
e6fcd61173
chore: Nix: tidy packages up a bit
2020-11-24 19:16:27 +01:00
Sebastian Ullrich
6e406d50d9
chore: Nix: cache stage 0
2020-11-24 19:16:27 +01:00
Sebastian Ullrich
31876691dc
chore: Nix: build thin static libraries
...
Less disk churn and .o files are automatically included in binary cache pushes
2020-11-24 19:16:27 +01:00
Sebastian Ullrich
3439cc80b3
chore: Nix: fix compilation on macOS
2020-11-24 19:16:27 +01:00
Sebastian Ullrich
bcebc0a145
chore: Nix: set up Cachix
2020-11-24 19:16:27 +01:00
Sebastian Ullrich
2407673394
chore: Nix: install flakes-enabled Nix directly from Hydra
2020-11-24 19:16:27 +01:00
Sebastian Ullrich
70daaab0a0
chore: Nix: use /nix/var/cache/ccache for macOS
2020-11-24 19:16:27 +01:00
Sebastian Ullrich
baeea69972
chore: Nix: basic GitHub Actions setup
2020-11-24 19:16:27 +01:00
Sebastian Ullrich
9a5867ffd7
chore: ignore result files from nix build
2020-11-24 19:16:27 +01:00
Sebastian Ullrich
8b33ce9bdf
chore: Nix: strip "Git dir ... is dirty" warnings
2020-11-24 19:16:27 +01:00
Sebastian Ullrich
511a958f56
fix: Nix: require lean4-mode on Emacs startup
2020-11-24 19:16:27 +01:00
Sebastian Ullrich
73e9b96cdc
refactor: Nix: move out lean-dev script
2020-11-24 19:16:27 +01:00
Sebastian Ullrich
092d5d67b4
chore: Nix: rebase old shell.nix setup on new flake.nix one, add shell nix attribute for pinned flakes-enable Nix
2020-11-24 19:16:27 +01:00
Sebastian Ullrich
4d3d7cb4a6
fix: Nix: minor fixes in lean-dev
2020-11-24 19:16:27 +01:00
Sebastian Ullrich
1dedafa173
fix: Nix: use current stage for files outside of source root
2020-11-24 19:16:27 +01:00
Sebastian Ullrich
6845d18119
fix: Nix: separate development and package lean/emacs
2020-11-24 19:16:27 +01:00
Sebastian Ullrich
f6fcca6316
feat: Nix: multi-platform, reorganize outputs
2020-11-24 19:16:27 +01:00
Sebastian Ullrich
b2c83a37d8
feat: Nix: Emacs PoC
2020-11-24 19:16:27 +01:00