Skip to content

Commit cd9cee6

Browse files
authored
Some tweaks and updates (#18)
1 parent e92cad4 commit cd9cee6

File tree

5 files changed

+524
-486
lines changed

5 files changed

+524
-486
lines changed

.travis.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
language: node_js
2-
sudo: false
3-
node_js:
4-
- 5
2+
dist: trusty
3+
sudo: required
4+
node_js: 6
55
install:
66
- npm install -g bower
77
- npm install
88
script:
9-
- npm run test
9+
- bower install --production
10+
- npm run -s build
11+
- bower install
12+
- npm -s test
1013
after_success:
1114
- >-
1215
test $TRAVIS_TAG &&
13-
psc-publish > .pursuit.json &&
14-
curl -X POST http://pursuit.purescript.org/packages \
15-
-d @.pursuit.json \
16-
-H 'Accept: application/json' \
17-
-H "Authorization: token ${GITHUB_TOKEN}"
16+
echo $GITHUB_TOKEN | pulp login &&
17+
echo y | pulp publish --no-push

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ A type-safe abstraction for platform-independent file system paths.
1212
fullPath = rootDir </> dir "baz" </> file "foo.png"
1313
```
1414

15-
See the [examples file](/examples/src/Examples.purs) for more.
15+
See the [tests file](/test/Main.purs) for various example usages more.
1616

1717
# Getting Started
1818

@@ -28,7 +28,7 @@ import Data.Path.Pathy
2828

2929
## Introduction
3030

31-
Applications often have to refer to file system paths in a platform-independent way.
31+
Applications often have to refer to file system paths in a platform-independent way.
3232

3333
Many path libraries provide a single abstraction to deal with file system paths. This allows easy composition of different kinds of paths, but comes at the expense of the following distinctions:
3434

@@ -57,7 +57,7 @@ Building path liberals is easy. You will typically build path literals from the
5757
For example:
5858

5959
```purescript
60-
let
60+
let
6161
path1 = rootDir </> dir "foo" </> dir "bar" </> file "baz.boo"
6262
path2 = currentDir </> dir "foo"
6363
in do
@@ -134,7 +134,7 @@ All the path literals you build by hand are automatically sandboxed, unless you
134134

135135
There are many other functions available to you for renaming files, renaming directories, getting parent directories, etc.
136136

137-
These are all documented in [MODULES.md](MODULES.md), and you can find [examples](/examples/Examples.purs) for most of them.
137+
These are all documented [on Pursuit](http://pursuit.purescript.org/packages/purescript-pathy), and you can find [test usages](/test/Main.purs) for most of them.
138138

139139
# API Docs
140140

bower.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
"purescript-profunctor": "^1.0.0",
2424
"purescript-strings": "^1.0.0",
2525
"purescript-transformers": "^1.0.0",
26-
"purescript-partial": "^1.1.2"
26+
"purescript-partial": "^1.1.2",
27+
"purescript-unsafe-coerce": "^1.0.0"
2728
}
2829
}

package.json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
{
22
"private": true,
33
"scripts": {
4-
"postinstall": "bower install",
54
"clean": "rimraf output && rimraf .pulp-cache",
6-
"build": "pulp build",
5+
"build": "pulp build --censor-lib --strict",
76
"test": "pulp test"
87
},
98
"devDependencies": {
10-
"pulp": "^9.0.1",
9+
"pulp": "^9.0.0",
10+
"purescript-psa": "^0.3.9",
1111
"purescript": "^0.9.1",
12-
"rimraf": "^2.5.2",
13-
"bower": "^1.7.9"
12+
"rimraf": "^2.5.0"
1413
}
1514
}

0 commit comments

Comments
 (0)