Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/davidje13/webgl-wrapper
https://github.com/davidje13/webgl-wrapper
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/davidje13/webgl-wrapper
- Owner: davidje13
- License: mit
- Created: 2019-12-03T21:37:15.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2019-12-03T22:37:24.000Z (about 5 years ago)
- Last Synced: 2024-10-20T02:38:56.388Z (3 months ago)
- Language: JavaScript
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# WebGL Wrapper
Simple helpers for WebGL. This repository exists to share code
between my own projects. Used by https://github.com/davidje13/Chance## Install dependency
```bash
npm install --save git+https://github.com/davidje13/webgl-wrapper.git#semver:^1.0.0
```## Or install as Git submodule
This approach is not recommended, but submodules are
[supported by GitHub pages](https://help.github.com/en/github/working-with-github-pages/using-submodules-with-github-pages),
so it can be useful for managing dependencies without a build step.
Note that [managing version updates can be tricky](https://medium.com/@porteneuve/mastering-git-submodules-34c65e940407).```bash
git submodule add https://github.com/davidje13/webgl-wrapper.git my-directory
```After creating submodules, all collaborators will need to clone with the
`--recursive` flag, or run the following after cloning:```bash
git submodule update --init --recursive
```It is also necessary to run the above after `pull`ing if a submodule has changed.
### Recommendations if using submodules
Show commit messages for sub-repos when running `git status` if the referenced commit has changed:
```bash
git config --global status.submoduleSummary true
```Same for using `git diff`:
```bash
git config --global diff.submodule log
```