You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there! We're thrilled that you'd like to contribute to this project. Your help is essential for keeping it great.
3
+
Thank you for your interest in contributing to this project! Your help makes it better for everyone.
4
4
5
-
Contributions to this project are [released](https://help.github.com/articles/github-terms-of-service/#6-contributions-under-repository-license) to the public under the [project's open source license](LICENSE.md).
5
+
## Code of Conduct 📝
6
6
7
-
Please note that this project is released with a [Contributor Code of Conduct][code-of-conduct]. By participating in this project you agree to abide by its terms.
7
+
By participating, you agree to abide by our [Contributor Code of Conduct](CODE_OF_CONDUCT.md).
8
8
9
-
## Submitting a pull request
9
+
## Getting Started
10
10
11
-
1.[Fork][fork] and clone the repository
12
-
2. Make sure the tests pass on your machine: `./tests/run-tests.sh`
13
-
- Tests can be run from VSCode
14
-
3. Create a new branch: `git checkout -b my-branch-name`
15
-
4. Make your change, add tests, and make sure the tests still pass
16
-
5. Push to your fork and [submit a pull request][pr]
17
-
6. Pat yourself on the back and wait for your pull request to be reviewed and merged.
11
+
### Build the extractor
18
12
19
-
Here are a few things you can do that will increase the likelihood of your pull request being accepted:
13
+
To build the extractor, use the following command:
20
14
21
-
- Write tests.
22
-
- Keep your change as focused as possible. If there are multiple changes you would like to make that are not dependent upon each other, consider submitting them as separate pull requests.
23
-
- Write a [good commit message](http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html).
15
+
```sh
16
+
./scripts/create-extractor-pack.sh
17
+
```
18
+
19
+
This will create the extractor pack in the `./extractor-pack` directory.
20
+
21
+
### Installing Dependencies
22
+
23
+
To install the dependencies of the queries, run the following command:
24
+
25
+
```sh
26
+
codeql pack install ./ql/lib
27
+
```
28
+
29
+
This will install the necessary dependencies for the library queries.
30
+
Alternatively, you can install them using VSCode's CodeQL extension.
31
+
32
+
### Compiling the Library
33
+
34
+
To compile the library queries, run:
35
+
36
+
```sh
37
+
codeql pack create ./ql/lib
38
+
```
39
+
40
+
You can also install these packs into the CodeQL home directory using:
0 commit comments