Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
git2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
git2
Commits
a7bc8de4
Commit
a7bc8de4
authored
Aug 02, 2021
by
Edward Thomson
Committed by
GitHub
Aug 02, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update VSCode / Github Codespaces workflow
parent
a8098903
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
67 additions
and
1 deletions
+67
-1
.devcontainer/devcontainer.json
+1
-1
.devcontainer/setup.sh
+10
-0
.vscode/launch.json
+28
-0
.vscode/tasks.json
+28
-0
No files found.
.devcontainer/devcontainer.json
View file @
a7bc8de4
{
"postCreateCommand"
:
"
sudo apt-get update && sudo apt-get -y --no-install-recommends install cmake
"
"postCreateCommand"
:
"
bash .devcontainer/setup.sh
"
}
.devcontainer/setup.sh
0 → 100755
View file @
a7bc8de4
#!/bin/sh
set
-e
sudo
apt-get update
sudo
apt-get
-y
--no-install-recommends
install cmake
mkdir build
cd
build
cmake ..
\ No newline at end of file
.vscode/launch.json
0 → 100644
View file @
a7bc8de4
{
//
Use
IntelliSense
to
learn
about
possible
attributes.
//
Hover
to
view
descriptions
of
existing
attributes.
//
For
more
information
,
visit
:
https
:
//go.microsoft.com/fwlink/?linkid=
830387
"version"
:
"0.2.0"
,
"configurations"
:
[
{
"name"
:
"(gdb) Launch"
,
"type"
:
"cppdbg"
,
"request"
:
"launch"
,
"program"
:
"${workspaceFolder}/build/libgit2_clar"
,
"args"
:
[],
"stopAtEntry"
:
false
,
"cwd"
:
"${fileDirname}"
,
"environment"
:
[],
"externalConsole"
:
false
,
"MIMode"
:
"gdb"
,
"setupCommands"
:
[
{
"description"
:
"Enable pretty-printing for gdb"
,
"text"
:
"-enable-pretty-printing"
,
"ignoreFailures"
:
true
}
]
}
]
}
\ No newline at end of file
.vscode/tasks.json
0 → 100644
View file @
a7bc8de4
{
//
See
https
:
//go.microsoft.com/fwlink/?LinkId=
733558
//
for
the
documentation
about
the
tasks.json
format
"version"
:
"2.0.0"
,
"tasks"
:
[
{
"label"
:
"Build"
,
"type"
:
"shell"
,
"command"
:
"cd build && cmake --build ."
,
"group"
:
"build"
,
"presentation"
:
{
"reveal"
:
"always"
,
"panel"
:
"new"
}
},
{
"label"
:
"Run Tests"
,
"type"
:
"shell"
,
"command"
:
"build/libgit2_clar -v"
,
"group"
:
"test"
,
"presentation"
:
{
"reveal"
:
"always"
,
"panel"
:
"new"
}
}
]
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment