-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Deprecate `\require`, `\pinclude` et al commands. They still work, but will produce a warning when verbose option is used. - Introduce new commands to replace the old commands: - `lyp-require`: load a package - `lyp-load`: load a file - `lyp-include`: load a file only once - Richer, easier to use `lyp-include` commands accept: - directory for loading all files in directory: `\lyp-include utils` - filename pattern with wildcard: `\lyp-include "lib/*.ly"` - multiple file references: `\lyp-include #'(stave1 stave2)` - Cleanup and refactor scheme definitions.
- Loading branch information
1 parent
a8b611b
commit ba86475
Showing
12 changed files
with
351 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,4 +4,7 @@ dist | |
*.ps | ||
*.png | ||
*.svg | ||
*.svg | ||
test.ly | ||
spec/package_setups/tmp | ||
spec/lilypond_setups/tmp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,22 @@ | ||
- Specs for CLI commands. | ||
- Add post about using custom fonts | ||
- Add post about compiling with lyp | ||
|
||
- Specs for lilypond command. | ||
- Add `install_lilypond` / `il` command: | ||
|
||
- rename require, pinclude, pincludeOnce etc: | ||
```ruby | ||
desc "install_lilypond VERSION", "Install a version of Lilypond." | ||
method_option :default, aliases: '-d', type: :boolean, desc: 'Set default Lilypond version' | ||
def install_lilypond | ||
$cmd_options = options | ||
|
||
```lilypond | ||
\req "blah" | ||
\incl "blah.ly" | ||
\inclOnce "blah.ly" | ||
\condIncl #(eq? edition 'urtext) "urtext_tweaks.ly" | ||
\condInclOnce #(eq? edition 'urtext) "urtext_tweaks.ly" | ||
Lyp::System.test_installed_status! | ||
args.each do |version| | ||
Lyp::Lilypond.install(version, options) | ||
end | ||
end | ||
``` | ||
|
||
- Specs for CLI commands. | ||
|
||
- Specs for lilypond command. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.