Skip to content

LostFlashlight/Zig-Devcontainer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Zig devcontainer

A complete Zig development environment follwoing the devcontainer standard, compatibel with 0.15.x, 0.16.x and the 0.17.0-dev builds of zig.

usage

to use simply clone the repo and copy the .devcontainer directory into your project.

git clone https://github.com/LostFlashlight/Zig-Devcontainer.git
cp -r Zig-Devcontainer/.devcontainer <your project directory>

you can define the zig / zls versions in the .devcontainer/devcontainer.json file

    "args": {
      "ZIG_VERSION": "0.16.0",
      "ZLS_VERSION": "0.16.0",
    },

Then, open your DevContainer-compatible editor (tested with Zed and VSCode) and confirm that it opens your project in the container.

dialog box

This will download the DevContainer Ubuntu image, run the install_zig.sh script, and provide the result as your environment with Zig and ZLS installed, without touching your files.

About

A complete Zig development environment follwoing the devcontainer standard, compatibel with 0.15.x and the 0.16.0-dev builds of zig.

Topics

Resources

License

Stars

2 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors