Skip to content

Latest commit

 

History

History
95 lines (57 loc) · 1.86 KB

contributing.md

File metadata and controls

95 lines (57 loc) · 1.86 KB

Klipse is written in Clojurescript.

How to run locally

from the terminal:

clj -A:figwheel --build dev --repl

From Cider, you should tell cider to launch clj with :fig-cider alias so that figwheel-main library is loaded.

Then, open the browser http://localhost:5014/js-dbg.html

From now on, the code is auto-compiled on every changes. You might need to refresh the test page to make sure the code changes were applied.

See How to add a language to Klipse to learn how to add a language to Klipse.

How to install locally

lein with-profile deploy install

How to deploy to production

0. Prepare

Upgrade version in project.clj and in src/klipse/core.cljs.

1. Build

./scripts/build

2. Test

Make sure figwheel runs.

clj -A:figwheel --build dev --repl

Open your browser and test the following test pages:

Production build:

Dev build:

3. Publish the npm package

Upgrade version number in package.json and then:

npm publish

4. Commit, tag and push

git commit -am 'cut version 7.10.0'
git tag v7.10.0
git push
git push --tags

Draft a new release on github

5. Deploy to clojars

lein with-profile deploy deploy clojars

6. Deploy to Google Storage

Make sure gsutil is installed.

./scripts/deploy