diff --git a/Makefile b/Makefile new file mode 100644 index 0000000000..a79bb4ce61 --- /dev/null +++ b/Makefile @@ -0,0 +1,2 @@ +compile: + ./node_modules/browserify/bin/cmd.js index.js > index-browser.js \ No newline at end of file diff --git a/README.md b/README.md index 37fda89096..268859e4de 100644 --- a/README.md +++ b/README.md @@ -4,9 +4,10 @@ Shared resources useful for the multiple HabitRPG repositories, that way all the * Algorithms - level up algorithm, scoring functions, etc * Item definitions - weapons, armor, pets -You only need to include algos.coffee -It will include the rest as necessary. - +##Browserify Usage (TODO fix up this documentation to use old browserify setup) +The `Makefile` runs Browserify to compile `index-browser.js`, which you include in a `