Here’s the Deal
Slant is powered by a community that helps you make informed decisions. Tell us what you’re passionate about to get your personalized feed and help others.
In some projects there are tasks that aren't related to the build at all. These can be simple tasks such as pulling the GIT SHA or reading the package.json file into variables. With Pint these additional tasks can be defined in the build file too. This is made possible by providing users with an initializr and a finalizr; inside the initialize callback, tasks such as generation of a list of test files or reading the package.json file can be defined, while in the finalize callback users can define moving of the build files or pushing the source maps to their server. See More
Every job in a build process may depend on something before it. A simple example would be copying of the minified files to the dist directory, this task needs to be performed after the compilation is complete. What Pint does is that it lets the user declare the dependencies within each job in a depends on array. Hence whenever PintJS starts the build process it first generates an internal dependency model so that the build could be parallelized by spawning up new Grunt processes wherever possible resulting in the complete build process being concurrent (and really fast). See More
Using Grunt in complex projects can lead to extremely bloated build files. Pint resolves this issue by introducing Jobs, a job is basically a set of Grunt tasks that are related to a particular build step. Using this method the build code remains organized in different job files, for example one for js compilation and one for CSS preprocessing. When the build process is started, Pint starts running these job files which in turn build the project. Here's a sample Pintfile.js further demonstrating the concept of jobs in PintJS. See More
Built by Slant
Find the best product
Stop wasting time searching endlessly. Lustre recommends the best products at their lowest prices.
4.7 star rating
Add to Chrome - It's FreeAdd to Edge - It's FreeAdd to Firefox - It's FreeAdd to Opera - It's FreeAdd to Brave - It's FreeAdd to Safari - It's FreeTry now - it's free
Numericalunits can work with routines that are not written in Python. For example, you can have a routine that calculates integrals in C and you can pass it a quantity in units of velocity and integration ranges in units of time and numericalunits will calculate it and return a result in units of distance. See More