Open sonarxavier opened 9 years ago
Ok just realised right after posting this issue that the options basePath is basically the cwd option. Still this issue is valid as this script should honor the cwd option. Cheers :)
Any plans to support cwd
option?
It seems that the cwd option is not honored.
See below the two tasks and their output
on a folder app/admin/scripts/*.ts
running grunt typescript:dist:admin
outputs
I want to use the cwd to remove the unecessary path, for instance /media/DATA/Development/mightyFrogs/fam-application-web/.tmp/admin/app/admin/scripts/MoodsController.js.map should be /media/DATA/Development/mightyFrogs/fam-application-web/.tmp/admin/scripts/MoodsController.js.map)
so I used cwd as follow
on a folder app/admin/scripts/*.ts
running grunt typescript:dist:admin
outputs
no file created at all.
Now the funny bit, if I put
**/*.ts
in the source I have the following outputSo it really looks like it still uses the gruntfile path as root. Wondering if it's a bug or if I do something completely wrong.
Cheers.