Windows build #589

Closed
opened 2017-03-11 08:05:49 +00:00 by SheetJSDev · 4 comments
SheetJSDev commented 2017-03-11 08:05:49 +00:00 (Migrated from github.com)

Simplify the build and test process to enable a Windows development workflow

see https://github.com/SheetJS/js-harb/issues/7 h/t @simon-p-r

Simplify the build and test process to enable a Windows development workflow see https://github.com/SheetJS/js-harb/issues/7 h/t @simon-p-r
simon-p-r commented 2017-03-11 09:06:03 +00:00 (Migrated from github.com)

Happy to help with any testing!

Happy to help with any testing!
SheetJSDev commented 2017-04-09 07:16:13 +00:00 (Migrated from github.com)

@simon-p-r starting from a fresh windows setup we were able to build the source and run the tests!

https://github.com/sheetjs/js-xlsx#windows is the relevant part of the documentation.

Configuration Steps:

  1. git clone https://github.com/SheetJS/js-xlsx/
  2. download the test files snapshot https://github.com/SheetJS/test_files/releases/download/20170409/test_files.zip
  3. extract that to the test_files subdirectory in the source tree
  4. npm install -g mocha and npm install

After making changes to the bits files, make.cmd will rebuild xlsx.js and mocha -t 30000 will run tests.

@simon-p-r starting from a fresh windows setup we were able to build the source and run the tests! https://github.com/sheetjs/js-xlsx#windows is the relevant part of the documentation. Configuration Steps: 1) `git clone https://github.com/SheetJS/js-xlsx/` 2) download the test files snapshot https://github.com/SheetJS/test_files/releases/download/20170409/test_files.zip 3) extract that to the test_files subdirectory in the source tree 4) `npm install -g mocha` and `npm install` After making changes to the bits files, `make.cmd` will rebuild xlsx.js and `mocha -t 30000` will run tests.
simon-p-r commented 2017-04-09 07:20:33 +00:00 (Migrated from github.com)

I will have a go and let you know if there are any problems

I will have a go and let you know if there are any problems
reviewher commented 2017-04-24 10:47:45 +00:00 (Migrated from github.com)

@simon-p-r updated the make.cmd script to streamline the process. Tested on an old Surface Pro 3 running windows 8.1 and everything seemed to work! Since we aren't using any powershell features it should work back to Windows 7.

Preparation:

  • Install node (6.10.2 in this test but other versions work too)
  • Install git windows (2.12.2.2 in this test), use default options (core.autocrlf = true)
  • Download the test files release from the test_files repo

Commands:

  • make init to install dependencies and dev modules
  • make will build the source
  • make lint will run the linter
  • make misc will run a small set of tests
  • make test will run the full tests
  • make book will update the README from the docbits.
@simon-p-r updated the make.cmd script to streamline the process. Tested on an old Surface Pro 3 running windows 8.1 and everything seemed to work! Since we aren't using any powershell features it should work back to Windows 7. Preparation: - Install node (6.10.2 in this test but other versions work too) - Install git windows (2.12.2.2 in this test), use default options (`core.autocrlf = true`) - Download the test files release from [the test_files repo](https://github.com/SheetJS/test_files/releases) Commands: - `make init` to install dependencies and dev modules - `make` will build the source - `make lint` will run the linter - `make misc` will run a small set of tests - `make test` will run the full tests - `make book` will update the README from the docbits.
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: sheetjs/sheetjs#589
No description provided.