Skip to content

Commit

Permalink
[Codespaces] Started codespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacob-C-Smith committed Jul 18, 2024
1 parent e93a311 commit 8cb6572
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 4 deletions.
14 changes: 14 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"image": "mcr.microsoft.com/devcontainers/universal:2",
"features": {

},
"customizations": {
// Configure properties specific to VS Code.
"vscode": {
// Add the IDs of extensions you want installed when the container is created.
"extensions": ["ms-vscode.cmake-tools", "ms-vscode.cpptools-extension-pack"]
}
},
"postCreateCommand": "cd extern;git submodule update --init;"
}
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Need CMake 3.0
cmake_minimum_required (VERSION 3.28.0)
# Need CMake 3.16
cmake_minimum_required (VERSION 3.16.0)

# This is the name of the repository
project ("queue")
Expand Down
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@

A minimal queue implementation written in C.

> 0 [Try it](#try-it)
>
> 1 [Download](#download)
>
> 2 [Build](#build)
Expand All @@ -22,6 +24,11 @@
>>
>> 5.2 [Function definitions](#function-definitions)
## Try it
[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/Jacob-C-Smith/queue?quickstart=1)

Wait for a few moments, then click the play button on the bottom of the window. This will run the example program.

## Download
To download queue, execute the following command
```bash
Expand Down
2 changes: 1 addition & 1 deletion extern/log
Submodule log updated 2 files
+10 −2 CMakeLists.txt
+4 −11 main.c
2 changes: 1 addition & 1 deletion extern/sync

0 comments on commit 8cb6572

Please sign in to comment.