richardsantos / nuclearjs

Test Cases Boilerplate for CasperJS
17 stars 5 forks source link

Separate initialization logical from path setup #3

Closed richardsantos closed 10 years ago

richardsantos commented 10 years ago

Paths shouldn't stay in init.js, create a json file for that.

richardsantos commented 10 years ago

Created a separated file for paths: nuclear.json

{
    "root": "/var/www/nuclearjs/",
    "source": "/var/www/nuclearjs/source/",
    "test": "/var/www/nuclearjs/tests/",
    "vendors": "/var/www/nuclearjs/vendors/"
}