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

Add devcontainer spec #3144

Merged
merged 2 commits into from
Jul 20, 2023

Conversation

dathanb
Copy link
Contributor

@dathanb dathanb commented Jul 18, 2023

Description

This PR adds a decontainer config to facilitate launching a GitHub Codespaces devcontainer capable of building the taskwarrior codebase on Ubuntu 22.04 LTS with no additional configuration required.

I've tested it from my own fork -- from https://github.com/dathanb/taskwarrior/tree/add-devcontainer-spec I can click "Code" -> "Codespaces" -> and launch a Codespace from the repo, then type

$ cmake -DCMAKE_BUILD_TYPE=debug .
$ make test

and all the tests pass with no additional steps required.

Additional information...

  • I changed C++ code or build infrastructure.
    Please run the test suite and include the output of cd test && ./problems.

  • I changed Rust code or build infrastructure.
    Please run cargo test and address any failures before submitting.

I started a codespace and used the VSCode devcontainer generator to
generate the devcontainer.json, reinstall-cmake.sh, and Dockerfile.
Copy link
Collaborator

@djmitche djmitche left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! Thanks!

Let's follow up with some instructions..

@djmitche djmitche merged commit c86252d into GothenburgBitFactory:develop Jul 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants