-
Notifications
You must be signed in to change notification settings - Fork 13
building.coffeescript
Dylon Edwards edited this page Jul 4, 2015
·
9 revisions
Home > Building > CoffeeScript / JavaScript
After installing the dependencies, simply run
cake build and/or cake minify (if you want the minified, JavaScript
libraries).
% cake build
% cake minify
:compileJava UP-TO-DATE
:processResources UP-TO-DATE
:classes UP-TO-DATE
:minify_levenshtein_distance
:minify_levenshtein_transducer
:minify_liblevenshtein
:minify
BUILD SUCCESSFUL
Total time: 8.392 secs
You should then find these JavaScript files under lib/:
% tree lib/
lib/
└── liblevenshtein
├── collection
│ ├── dawg.js
│ └── max-heap.js
├── index.js
├── levenshtein
│ ├── builder.js
│ ├── distance.js
│ └── transducer.js
├── levenshtein-distance.js
├── levenshtein-distance.min.js
├── levenshtein-transducer.js
├── levenshtein-transducer.min.js
├── liblevenshtein.js
├── liblevenshtein.min.js
└── util
├── mutate.js
├── operations.js
├── permutations.js
└── truth-table.js
4 directories, 16 files
An explanation of the major files follows (the others are intermediate in their construction):
- Consists of the Levenshtein transducer and its direct dependencies.
- Consists of the memoized, Levenshtein distance functions.
- Consists of every file in the library.
Once you've built the library, you may wish to use the library or run its tests.
liblevenshtein is maintained by @dylon