@@ -73,7 +73,7 @@ included in the Gitique view, but all commits following it will be.)
73
73
## Developing
74
74
75
75
1 . Clone this repo.
76
- 2 . From the root of the cloned repo, run ` ./build ` . This will download the ClojureScript
76
+ 2 . From the root of the cloned repo, run ` make ` . This will download the ClojureScript
77
77
compiler and run it on the source, producing the file ` gitique.js ` . This script will
78
78
watch for changes in the source.
79
79
3 . This depends on the browser.
@@ -84,20 +84,20 @@ included in the Gitique view, but all commits following it will be.)
84
84
[ ` src/firefox ` ] ( src/firefox ) do ` jpm run ` and use the blank profile that generates.
85
85
Alternatively, run ` jpm xpi ` and then choose to install an add-on from a file at
86
86
[ about: addons ] ( about:addons ) .
87
- 4 . To run the unit tests, run ` ./build test` . This requires
87
+ 4 . To run the unit tests, run ` make test` . This requires
88
88
[ PhantomJS] ( http://phantomjs.org/ ) version 2 to be on the path as ` phantomjs ` . It will
89
- watch the ` test ` and ` src ` directories and run the tests on the built output.
90
- 5 . To run the Webdriver tests, install [ boot ] ( http://boot-clj.com/ ) and run
91
- [ ` ./selenium.clj ` ] ( selenium. clj) . This will run some basic tests against the
92
- [ gitique-examples repo] [ examples ] in Chrome and Firefox. A
93
- [ production build] ( #production-builds ) is needed for these, as the generated XPI is
94
- loaded by Firefox for the tests.
89
+ watch the ` test ` and ` src ` directories and run the tests on the built output. ` make ci `
90
+ will compile, run the tests, and exit without watching.
91
+ 5 . To run the Webdriver tests, install [ boot ] ( http://boot- clj.com/ ) and run `make
92
+ selenium`. This will run some basic tests against the [ gitique-examples repo] [ examples ]
93
+ in Chrome and Firefox. A [ production build] ( #production-builds ) is needed for these, as
94
+ the generated XPI is loaded by Firefox for the tests.
95
95
96
96
### Production builds
97
97
98
98
1 . Update [ ` dist/chrome/manifest.json ` ] ( dist/chrome/manifest.json ) and
99
99
[ ` dist/firefox/package.json ` ] ( dist/firefox/package.json ) for the new version.
100
- 2 . Run ` ./ release` . This will build using advanced optimizations, then package
100
+ 2 . Run ` make release` . This will build using advanced optimizations, then package
101
101
` dist/chrome ` into ` dist/chrome.zip ` , and ` dist/firefox ` into
102
102
` dist/firefox/@gitique-$version.xpi ` .
103
103
0 commit comments