Skip to content

Commit

Permalink
Migrate to latest VexFlow (3.0.9)
Browse files Browse the repository at this point in the history
Only the following chnges were required:
* Don't attempt to disply notes in a bar if there are none!
* Amend README to mention the VexFlow version
* All examples now share a single version of the VexFlow library
* Each example now has its own dhall file
  • Loading branch information
newlandsvalley committed Jan 11, 2021
1 parent 1459737 commit c90d745
Show file tree
Hide file tree
Showing 24 changed files with 30,498 additions and 145,012 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ This is a purescript wrapper for [VexFlow](http://www.vexflow.com/) which is des

It is intended to be a replacement for [purescript-scores](https://github.com/newlandsvalley/purescript-scores) which itself was a wrapper for [VexTab](http://www.vexflow.com/vextab). i.e. the intention is to cut out the middle man (which is anyhow not regularly maintained).

Currently, it uses VexFlow v3.0.9

To build the library
--------------------

Expand Down
5 changes: 5 additions & 0 deletions align-staves.dhall
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
let conf = ./spago.dhall

in conf // {
sources = conf.sources # [ "examples/align-staves/**/*.purs" ]
}
5 changes: 5 additions & 0 deletions beaming.dhall
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
let conf = ./spago.dhall

in conf // {
sources = conf.sources # [ "examples/beaming/**/*.purs" ]
}
5 changes: 5 additions & 0 deletions bugs.dhall
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
let conf = ./spago.dhall

in conf // {
sources = conf.sources # [ "examples/bugs/**/*.purs" ]
}
5 changes: 5 additions & 0 deletions debug.dhall
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
let conf = ./spago.dhall

in conf // {
sources = conf.sources # [ "examples/debug/**/*.purs" ]
}
5 changes: 5 additions & 0 deletions display-tests.dhall
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
let conf = ./spago.dhall

in conf // {
sources = conf.sources # [ "examples/display-tests/**/*.purs" ]
}
2 changes: 1 addition & 1 deletion examples/align-staves/dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html>
<head>
<title>PureScript VexFlow Stave Alignment Example</title>
<script src="vexflow-debug.js"></script>
<script src="../../vexflow-debug.js"></script>
</head>
<body>
<div id="canvas" ></div>
Expand Down
Loading

0 comments on commit c90d745

Please sign in to comment.