Skip to content

Commit

Permalink
fix issues for next release
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard Keil committed Sep 29, 2014
1 parent b46e14c commit b246bb8
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
7 changes: 5 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,14 @@ MOCHA = node_modules/".bin"/mocha
BRSIFY = node_modules/".bin"/browserify
MKDIRP = node_modules/".bin"/mkdirp

SRC = $(shell find src/ -maxdepth 1 -name "*.ls" -type f | sort)
SRC = $(shell find src -maxdepth 1 -name "*.ls" -type f | sort)
DIST = $(SRC:src/%.ls=dist/%.js)

build: dist browser $(DIST) browser/prelude.js

install:
@npm install .

dist:
$(MKDIRP) dist

Expand All @@ -35,4 +38,4 @@ dist/%.js: src/%.ls
browser/%.js: dist/%.js
$(BRSIFY) -o "$@" -e "$<"

.PHONY: build dist browser test clean
.PHONY: install build dist browser test clean
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "prelude",
"version": "0.0.3",
"version": "0.0.4",
"description": "Utility set for Javascript",
"author": "Richard Keil",
"main": "dist/prelude.js",
Expand All @@ -13,6 +13,7 @@
"LiveScript": "^1.2.0",
"browserify": "^5.12.1",
"expect.js": "^0.3.1",
"mkdirp": "^0.5.0",
"mocha": "^1.21.4"
}
}
3 changes: 1 addition & 2 deletions src/func.ls
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
'use strict'

{ isType } = require './type'

# circular ugliness
cloneArray = (xs) -> [x for x in xs]

# applyNoContext :: function -> array
Expand Down

0 comments on commit b246bb8

Please sign in to comment.