Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
purescript-gargantext
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Grégoire Locqueville
purescript-gargantext
Commits
3cdf7386
Commit
3cdf7386
authored
Apr 12, 2019
by
James Laver
Committed by
Alexandre Delanoë
Apr 28, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
yarn rebase-set command, README how do i section
parent
e81cac8e
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
29 additions
and
3 deletions
+29
-3
README.md
README.md
+28
-3
package.json
package.json
+1
-0
No files found.
README.md
View file @
3cdf7386
...
...
@@ -28,13 +28,13 @@ Once you have yarn installed, you may install everything else simply:
yarn
install
&&
yarn install-ps
```
### Building
You may now build:
```
shell
yarn build
```
### Getting a purescript repl
And run a repl:
```
shell
yarn repl
...
...
@@ -44,7 +44,32 @@ yarn repl
Please follow CONTRIBUTING.md
## Introduction
### How do I?
#### Add a javascript dependency?
Add it to
`package.json`
, under
`dependencies`
if it is needed at
runtime or
`devDependencies`
if it is not.
#### Add a purescript dependency?
Add it to
`psc-package.json`
without the
`purescript-`
prefix.
If is not in the package set, you will need to read the next section.
#### Add a custom or override package to the local package set?
You need to add an entry to the relevant map in
`packages.dhall`
. There are comments in the file explaining how it
works. It's written in dhall, so you can use comments and such.
#### Upgrade the base package set local is based on to latest?
```
shell
yarn rebase-set
```
## Theory Introduction
Making sense of out text isn't actually that hard, but it does require
a little background knowledge to understand.
...
...
package.json
View file @
3cdf7386
{
"scripts"
:
{
"rebase-set"
:
"spago package-set-upgrade"
,
"rebuild-set"
:
"spago psc-package-insdhall"
,
"install-ps"
:
"psc-package install"
,
"build"
:
"pulp --psc-package browserify -t dist/bundle.js"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment