Skip to content

Commit

Permalink
Minor dev improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
vesln committed Dec 12, 2013
1 parent 6d3c2b9 commit 5fac7bc
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 5 deletions.
30 changes: 26 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,37 @@ all: test

# Make standalone browser build

browser: node_modules components
standalone: node_modules components
@./node_modules/.bin/component-build -s hydro-bdd -o .
@mv build.js hydro-bdd.js

# Development
# Make a new build

build: components
@./node_modules/.bin/component-build --dev

release: build browser test
# Release

release: clean node_modules build standalone test
@git changelog

# Clean

clean: clean-browser clean-components clean-cov

clean-node:
@rm -rf node_modules

clean-browser:
@rm -f hydro.js

clean-components:
@rm -rf build
@rm -rf components

clean-cov:
@rm -rf coverage

# CI

test:
Expand All @@ -28,4 +47,7 @@ coveralls:
components: node_modules component.json
@./node_modules/.bin/component-install --dev

.PHONY: all test coverage browser
node_modules: clean-node
@npm install

.PHONY: all test coverage standalone
7 changes: 6 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
{
"name": "hydro-bdd",
"version": "0.0.3",
"description": "BDD interface for hydro.js",
"description": "BDD interface for hydro",
"keywords": [
"hydroui",
"hydro",
"bdd"
],
"main": "./index.js",
"homepage": "https://github.com/hydrojs/hydro-bdd",
"scripts": {
Expand Down

0 comments on commit 5fac7bc

Please sign in to comment.