Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Browserify WIP #56

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ PACKAGE_VERSION = $(shell node -e 'console.log(require("./package.json").version
all: $(LIB_DIR)
@cp $(SRC_DIR)/sql_keywords.txt $(LIB_DIR)/

standalone_bundle: clean all
node_modules/.bin/browserify -s gesundheit lib/index.js > gesundheit-standalone.js

doc_bundle: clean all
node_modules/.bin/browserify -s gesundheit lib/index.js > doc/_static/bundle.js

.PHONY: test
test: unit integration

Expand All @@ -31,12 +37,10 @@ clean:
$(LIB_DIR): $(SRC_DIR)
@node_modules/.bin/coffee -o $@ -bc $<

pages: bundle
pages: doc_bundle
make -C doc clean html
cp bundle.js doc/_build/html/_static
cp tryit.html doc/_build/html/_static

release: clean test pages
release: clean test pages standalone_bundle
git checkout gh-pages
cp -R doc/_build/html/ ./
[[ -z `git status -suno` ]] || git commit -a -m v$(PACKAGE_VERSION)
Expand Down
8 changes: 4 additions & 4 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ Install
-------

In addition to the usual ``npm install gesundheit``, you will need to install
the driver for your database. Driver support is provided by `any-db
<https://github.com/grncdr/any-db>`_, which currently works with the ``pg``,
``mysql``, and ``sqlite3`` database drivers. So for example, if you use
PostgreSQL as your database backend you would do ``npm install pg gesundheit``.
the driver for your database. Driver support is provided by `Any-DB
<https://github.com/grncdr/any-db>`_, which currently supports MySQL, Postgres
and SQLite3. So for example, if you use PostgreSQL as your database backend you
would do ``npm install --save any-db-postgres``.

License
-------
Expand Down
303 changes: 0 additions & 303 deletions doc/_static/bsm.css_t

This file was deleted.

Loading