Skip to content

Instantly share code, notes, and snippets.

@emiaj
Last active August 29, 2015 14:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save emiaj/086e27081d2d5d07ee94 to your computer and use it in GitHub Desktop.
Save emiaj/086e27081d2d5d07ee94 to your computer and use it in GitHub Desktop.
dotPsci instructions from "Purescript By Example" Book
dotPsci: ["src/**/*.purs", "bower_components/**/src/**/*.purs"]
// grunt verbose output
/*
Running "dotPsci" task
Running "dotPsci:0" (dotPsci) task
Verifying property dotPsci.0 exists in config...OK
Files: src/Chapter2/Chapter2.purs -> 0
Reading .psci...OK
Writing .psci...OK
>> Updated .psci file
Running "dotPsci:1" (dotPsci) task
Verifying property dotPsci.1 exists in config...OK
Files: bower_components/purescript-math/src/Math.purs -> 1
Reading .psci...OK
Writing .psci...OK
>> Updated .psci file
*/
// .psci
/*
:m bower_components/purescript-math/src/Math.purs
*/
dotPsci: ["bower_components/**/src/**/*.purs", "src/**/*.purs"]
// grunt output
/*
Running "dotPsci" task
Running "dotPsci:0" (dotPsci) task
Verifying property dotPsci.0 exists in config...OK
Files: bower_components/purescript-math/src/Math.purs -> 0
Reading .psci...OK
Writing .psci...OK
>> Updated .psci file
Running "dotPsci:1" (dotPsci) task
Verifying property dotPsci.1 exists in config...OK
Files: src/Chapter2/Chapter2.purs -> 1
Reading .psci...OK
Writing .psci...OK
>> Updated .psci file
*/
// .psci
/*
:m src/Chapter2/Chapter2.purs
*/
dotPsci: ["{bower_components/**/src/**/,src/**/}*.purs"]
// grunt output
/*
Running "dotPsci" task
Running "dotPsci:0" (dotPsci) task
Verifying property dotPsci.0 exists in config...OK
Files: bower_components/purescript-math/src/Math.purs, src/Chapter2/Chapter2.purs -> 0
Reading .psci...OK
Writing .psci...OK
>> Updated .psci file
*/
// .psci
/*
:m bower_components/purescript-math/src/Math.purs
:m src/Chapter2/Chapter2.purs
*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment