Skip to content

Commit

Permalink
Move example -> documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
sharkdp committed Aug 2, 2017
1 parent 470e9ff commit 4ce675a
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 16 deletions.
10 changes: 5 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
/output/
/.psci*

/example/bower_components/
/example/.pulp-cache/
/example/output/
/example/.psci*
/documentation/bower_components/
/documentation/.pulp-cache/
/documentation/output/
/documentation/.psci*

/example/html/test.js
/documentation/html/test.js
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@ Based on initial work by paf31 and inspired by (the PureScript version of) [Elm.

## Development

For running the (interactive) tests, the following steps are necessary:
To run the unit tests, the following steps are necessary:
```
bower install
pulp test
```
npm i
bower i
cd example && bower i && cd ..
# Run unit tests:
npm t

# Build interactive tests / documentation:
npm run example
To build the interactive docmentation, run:
```
cd documentation
bower install
pulp build -O -m Main -t html/test.js
```
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"private": true,
"scripts": {
"build": "pulp test && rimraf docs && pulp docs",
"example": "cd example && pulp build -O -m Main -t html/test.js",
"build": "bower install && pulp build",
"documentation": "cd example && pulp build -O -m Main -t html/test.js",
"test": "pulp test"
},
"devDependencies": {
Expand Down

0 comments on commit 4ce675a

Please sign in to comment.