GitHub UI integration for K2 - Kernel Scheduling Method
Read about the features in the wiki
- Download the extension from here
- Go to
chrome://extensions
- Drop the extension onto this window and let it install
- Go to
chrome://extensions
- Make sure you have Developer Mode enabled at the top
- Click Load Unpacked Extension
- Navigate to the
dist
folder and select it
Your github password is stored locally and securely. It is used to make basic auth calls to the GitHub API. This is so that we don't have to implement OAuth or a separate API and we can get around a lot of the rate limiting issues.
git clone [email protected]:tgolen/k2-chrome-extension.git
cd k2-chrome-extension
npm install -g gulp
npm install
There are three main gulp tasks to use with this project. All files are output to the dist
folder.
gulp
- Run this when doing development. It will watch files and run all code standardizing tasks whenever the files are saved. It will build all the JS code together in an unminified version for easier debugging.gulp build
- This will doing the same thing as the normal gulp task except it won't watch files and will exit when finished.gulp package
- This will output a minified version of the code which can be used to submit to the Chrome Store.
This repo uses several tools to keep the code standardized.
JS Format - Sublime plugin, use this config for your personal package settings:
{
// jsformat options
"format_on_save": true,
"jsbeautifyrc_files": true
}
Editorconfig - Use a plugin for your editor of choice
There is no configuration required as it should read the .editorconfig
file in the root of the repo
This is run via a gulp task and no confuragion required. It will use the AirBnB style guide by default.
This is run via a gulp task
This is run via a gulp task