nicolaspanel / grunt-contrib-django Goto Github PK
View Code? Open in Web Editor NEWGrunt tasks to run common django commands
License: MIT License
Grunt tasks to run common django commands
License: MIT License
You would expect JSHint to run using this following code...
grunt.registerTask('weird', [
"django-manage:tests",
"jshint",
]);
But this is what happens...
Running "django-manage:tests" (django-manage) task
>> Running python ./manage.py test command from /Users/@f1lt3r/my-repo/my-app
....................
----------------------------------------------------------------------
Ran 20 tests in 0.861s
OK
>> Command ran successfully
But if I swap them around like this...
grunt.registerTask('weird', [
"jshint",
"django-manage:tests",
]);
...then both tasks run (as expected).
Running "jshint:all" (jshint) task
>> 4 files lint free.
Running "django-manage:tests" (django-manage) task
>> Running python ./manage.py test command from /Users/@f1lt3r/my-repo/my-app
....................
----------------------------------------------------------------------
Ran 20 tests in 0.861s
OK
>> Command ran successfully
Maybe I'm doing something crazy?
Any ideas appreciated.
Using the README, I get the following error...
Running "django-manage:test" (django-manage) task
Verifying property django-manage.test exists in config...ERROR
>> Unable to process task.
Warning: Required config property "django-manage.test" missing. Use --force to continue.
Aborted due to warnings.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.