Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make the file generation more transparent #203

Merged
merged 8 commits into from
Jun 26, 2024
Merged

Commits on Jun 26, 2024

  1. Regenerate the files transparently when entering the dev shell

    Removes the need from running `regenerate-files` manually
    Théophane Hufschmitt committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    d926d9c View commit details
    Browse the repository at this point in the history
  2. Allow specifying a source file in files.*

    This is in particular useful when the source file is generated with Nix.
    Use for instance with:
    
    ```nickel
    {
        files."foo".file = nix.import_nix "nixpkgs#foo",
    }
    ```
    Théophane Hufschmitt committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    ee25e74 View commit details
    Browse the repository at this point in the history
  3. Generate the lockfile on the fly when entering the shell

    Avoids the need for an explicit `nix run .#regenerate-lockfile`
    Théophane Hufschmitt committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    57ed9c5 View commit details
    Browse the repository at this point in the history
  4. Only regenerate the files.* when needed

    Théophane Hufschmitt committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    a2615af View commit details
    Browse the repository at this point in the history
  5. Add tests for the lsp integration

    Ensure that autocompletion works fine for simple things
    Théophane Hufschmitt committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    594cc2a View commit details
    Browse the repository at this point in the history
  6. Quote the variables in the bash snippets

    Ooops
    
    Co-authored-by: Yann Hamdaoui <yann.hamdaoui@gmail.com>
    2 people authored and Théophane Hufschmitt committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    909cff9 View commit details
    Browse the repository at this point in the history
  7. Fix the indentation of a multiline string

    Got bitten by tweag/topiary#654 once again
    
    Co-authored-by: Yann Hamdaoui <yann.hamdaoui@gmail.com>
    2 people authored and Théophane Hufschmitt committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    33ea3ad View commit details
    Browse the repository at this point in the history
  8. Briefly explain the %%organist_internal hack

    Théophane Hufschmitt committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    436e249 View commit details
    Browse the repository at this point in the history