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
3ddddbeb
Commit
3ddddbeb
authored
Nov 20, 2018
by
Sudhir Kumar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated build script & added tree for testing
parent
cb9cfeca
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
356 additions
and
123 deletions
+356
-123
build
build
+1
-1
Tree.purs
src/Gargantext/Components/Tree.purs
+349
-120
Actions.purs
src/Gargantext/Pages/Layout/Actions.purs
+6
-2
No files found.
build
View file @
3ddddbeb
#!/bin/bash
yarn
install
&&
psc-package
install
&&
pulp
--psc-package
build
&&
pulp
--psc-package
browserify
--to
dist/bundle.js
yarn
&&
yarn psc-package
install
&&
yarn pulp
--psc-package
build
&&
yarn
pulp
--psc-package
browserify
--to
dist/bundle.js
src/Gargantext/Components/Tree.purs
View file @
3ddddbeb
This diff is collapsed.
Click to expand it.
src/Gargantext/Pages/Layout/Actions.purs
View file @
3ddddbeb
...
...
@@ -68,9 +68,13 @@ performAction Initialize _ state = void do
case state.initialized of
false -> do
lnodes <- lift $ Tree.loadDefaultNode
void $ modifyState $ _ { initialized = true, ntreeState = lnodes }
case lnodes of
Left err -> do
modifyState identity
Right d -> do
modifyState $ _ { initialized = true, ntreeState = d }
_ -> do
pure unit
modifyState identity
performAction (LoginA _) _ _ = pure unit
performAction (AddCorpusA _) _ _ = pure unit
...
...
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