forked from SheetJS/sheetjs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
run `make help` for more info
- Loading branch information
Showing
4 changed files
with
61 additions
and
14 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
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
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,2 +1,30 @@ | ||
type bits\* > xlsx.flow.js | ||
node misc\strip_flow.js > xlsx.js | ||
@echo off | ||
REM vim: set ts=2: | ||
|
||
if "%1" == "help" ( | ||
echo make init -- install deps and global modules | ||
echo make lint -- run eslint linter | ||
echo make test -- run mocha test suite | ||
echo remember to download the test_files release! | ||
echo make misc -- run smaller test suite | ||
echo make book -- rebuild README and summary | ||
echo make help -- display this message | ||
) else if "%1" == "init" ( | ||
npm install | ||
npm install -g eslint eslint-plugin-html eslint-plugin-json | ||
npm install -g mocha markdown-toc | ||
) else if "%1" == "lint" ( | ||
eslint --ext .js,.njs,.json,.html,.htm xlsx.js xlsx.flow.js bin/xlsx.njs package.json bower.json | ||
) else if "%1" == "test" ( | ||
SET FMTS= | ||
mocha -R spec -t 30000 | ||
) else if "%1" == "misc" ( | ||
SET FMTS=misc | ||
mocha -R spec -t 30000 | ||
) else if "%1" == "book" ( | ||
type docbits\*.md > README.md | ||
markdown-toc -i README.md | ||
) else ( | ||
type bits\*.js > xlsx.flow.js | ||
node misc\strip_flow.js > xlsx.js | ||
) |
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