Skip to content

Cross platform testing

Jason edited this page Oct 7, 2021 · 5 revisions

Setup

  1. Install Node 12+
  2. npm install -g snapp-cli. snapp --version should show the latest version #, as listed on NPM here.

To test

cd ~/temp            # or wherever
snapp project myproj 
cd myproj
ls                   # files should exist
npm run test         # the included test should pass
snapp file foo
ls src               # foo.ts & foo.test.ts should exist
 
snapp system         # should print your system info, for user bug reports

cd ~/temp       
snapp example sudoku
ls sudoku            # files should exist
Clone this wiki locally