summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-08-04Add wutbar glyph and use itBen Sima
2022-08-04Improve bild loggingBen Sima
2022-08-03Fix bild testBen Sima
2022-08-03Fix globbing in pre-push hookBen Sima
2022-08-03Distinguish between output name and output pathBen Sima
Bild.nix relies on output name when setting the output path, which is gonna be different than the dev build cabdir output path.
2022-08-03Print bild JSON analysis as a dictionary instead of a streamBen Sima
2022-08-03Key analyses on Namespace, not FilePathBen Sima
Namespace is unique, whereas FilePath could be relative or absolute, or have a leading . or trailing / or not.
2022-08-03Fold analyses with a caching containerBen Sima
2022-08-03Add module stub so these are buildableBen Sima
2022-08-03Add compilerFlags to TargetBen Sima
This moves logic into the analysis step, and allows better auditing because you can see exactly what flags and command bild will use to compile the target.
2022-08-02Make bild dev build work againBen Sima
Unfortunately, until bild can instantiate nix builds, it needs all of its compilers in the dev environment, and I need to pass this environment into the dev nix-shell in order for it to work in the repl or after being built to _/bin.
2022-08-02Simplify analyze code a bit moreBen Sima
2022-08-02Break up monolithic detectImports functionBen Sima
2022-08-02Fix test argument to depsBen Sima
2022-08-01Fix some lintsBen Sima
2022-08-01Lint only changed filesBen Sima
2022-08-01Log to dumb terminals betterBen Sima
2022-08-01Add missing runtime dependencies to bildBen Sima
2022-07-29Implement Guile linking for C buildsBen Sima
In order to write Guile code against C, I need to distiguish between libs and bins, so I did that, then I got the flags that gcc needs from `guile-config` and put them in the args for any C lib build. I tested this with Bessel.c and Bessel.scm (not in this patch, because I don't really want that code in my tree, I'll come up with another way to test it later).
2022-07-29Refactor replBen Sima
- added --bash in case you just really want a shell - added support for C programs
2022-07-29Parse sysdeps for C codeBen Sima
2022-07-29Update nixos-mailserver and deploy Biz/Cloud.nixBen Sima
The cloud was old, so some extra fixes snuck in that should have been a part of the nixpkgs upgrade.
2022-07-27Upgrade nixpkgsBen Sima
2022-07-26Port Niv.Cli to Biz.Bild.DepsBen Sima
2022-07-26Add hlint hints for bind +> and fmap </Ben Sima
2022-07-26Put _/bin on the PATHBen Sima
The motivation for this was to prevent `lint` from rebuilding every time I ran it. That was really annoying.
2022-07-25Concurrently analyze transitive dependenciesBen Sima
Before: ϟ time bild Biz/Dragons.hs good: bild: Biz/Dragons.hs real 0m31.587s user 0m25.073s sys 0m6.446s After: ϟ time bild Biz/Dragons.hs good: bild: Biz/Dragons.hs real 0m17.111s user 0m39.719s sys 0m9.145s So yeah this is a good speedup.
2022-07-25Run deadnix as a linterBen Sima
2022-07-25Generate both emacs and vim tagsBen Sima
2022-07-25Add basic support for building C codeBen Sima
2022-07-25Add tags support for more languagesBen Sima
Rust seems to not be supported in my ctags version :( Also rename some Ide scripts because these are commands, not really scripts.
2022-07-25Remove some unused dev dependenciesBen Sima
2022-07-25Fix typoBen Sima
2022-07-25Remove GHCJS support completelyBen Sima
I don't care about ghcjs anymore, the most javascript I want to do is jQuery.
2022-07-23Move comments to docstringsBen Sima
Just spent an hour implementing my own doc system, just to find out this is built in to guile :(
2022-07-23Fix shell/execBen Sima
2022-07-23Add simple rust support in replBen Sima
2022-07-21Remove rustc and scheme from global environmentBen Sima
2022-07-21Add sysdeps to repl environmentsBen Sima
2022-07-20Add PORT argument to replBen Sima
Also added -h help message.
2022-07-20Provision scheme environments with nixBen Sima
There's no `guileWith` in nixpkgs, so I think I just need to pass multiple `--packages` flags. I can't test this yet because I need to implement import detection in Bild.hs first, but that's less important because Guile ships with a bunch of SRFIs, which is nice, and anyway there aren't many Guile libraries in nixpkgs for me to pull from.
2022-07-20Re-enable scheme buildsBen Sima
I had thought that I needed some unmerged commits to nixpkgs that enable Guile 3.0, but turns out I just needed to use a different target name :P
2022-07-19Add note about direnv refreshingBen Sima
2022-07-19Provision lisp repls with nixBen Sima
asdf seems to always be necessary for any other packages to work, so I just include that in the call to nix-shell, and swank is included because it's just useful to start a repl server.
2022-07-19Support multiple targets in replBen Sima
Also fixed a bug where the json failed to parse correctly.
2022-07-19Upgrade nixpkgs, ghc923Ben Sima
I ended up deleting miso, and consequently all files under Hero/ and Miso/, because I couldn't get miso to build with GHC 9.2. Other things: - Niv has been wrapped by Biz/Bild/Deps.hs, so I can extend it to my liking. - Apply-refact is gone because I couldn't get it to build. - Disabled python stuff.
2022-07-18Move let bindings to 'private'Ben Sima
This way I can still inspect and use them from the nix repl by just doing `:l Biz/Bild.nix`, but its also clear that they aren't part of the normal build rules.
2022-07-18Delete ShellHook.sh in favor of just using direnvBen Sima
2022-07-18Change help to tipsBen Sima
"help" is a bash builtin, "tips" isn't the best but its just what I thought of first.
2022-07-18Move sentry function to Sentry.shBen Sima