Blog, Nerd Alert: Sprint.ly's Continuous Integration. A few of our customers have asked for more details about the technology that makes Sprint.ly tick behind the scenes.
As a result, we’re going to be writing a series of “Nerd Alert” posts covering our technology stack and other hackery we’re working on. Here at Sprint.ly our mission is to make people more efficient. As part of this philosophy, we believe Continuous Integration or “CI” environments help teams move faster. They can be configured to automatically test code on commit, build packages for deployment, lint check code, produce test coverage reports, or tell you what code doesn’t conform to your particular style guide. While CI environments do take time to implement, and you will need to keep up on writing tests, we believe that over the long haul they’re akin to a snowflake falling on the top of the mountain – they’ll gain momentum over time.
So what does ours look like? GitHubJenkinsRepomanDebian/UbuntuFabric $ fab promote_package:snowbird,sprintly-staging,sprintly. Creating a LESS CSS Plugin for ColdMVC. One of the coolest things I've seen in awhile is LESS CSS, which "extends CSS with variables, mixins, operations, and nested rules".
Barney Boisvert has blogged about using LESS with ColdFusion already, but I wanted to show an even simpler integration using my ColdMVC framework with a little help from around the web. Assuming you already have ColdMVC up and running, your next steps will be to download JavaLoader and the LESS jar file. Next, we'll create a new ColdFusion project called ColdCSS, which contains the LESS jar file and a single component, ColdCSS.cfc. Next, open your application's /config/plugins.cfm template and register the ColdCSS plugin. The path to your plugin might be different, but here's what it looks like if the ColdCSS project is in the same directory as your application.
Here's the content of the new component, ColdCSS.cfc: /** * @accessors true * @singleton */component { property pluginManager; /** * @events applicationStart */ public void function generateFiles() { Elements of Development: Railo Coldfusion & Less CSS (java implementation) I just spent the last 4 hours figuring this out.
I had to blog this to help someone - and my future self. I wanted to start using Less and I want to compile it server side only when I need to. I have some url parameters, which can only be run from the admin login, that I use to reset certain caches and things. In this case I want it to recompile my less css only when I want to. So I need to set up a script to trigger and run the less css compiler. I finally figure out my own implementation - thanks to railo's native java loader - TWO LINES OF CODE!!! I'm going to try to retrace my steps... From you can get the source and compile your own. Actually, that's not right, I got it from this guys presentation notes here: link: That's where I got the "lesscss-engine-1.1.4.jar".
Git Submodules: Adding, Using, Removing, Updating. I’ve spent a little more than a month working with Git now.
I can honestly say that while there are many things that I like about Git, there are just as many things that I personally find to be a pain in the butt. Submodules specifically have managed to be a thorn in my side on many occasions. While the concept of submodules is simple, figuring out how to actually work with them can be a chore. I say “figuring out” because not everything about working with submodules is well documented. I’ll cover two of the more difficult things to figure out: removing and updating submodules from your repository. What are Submodules? The concept of submodules is brilliant. My profession is working with WordPress themes. Each theme that we produce is kept in its own Git repository. For example, we have a theme called FlexxBold. As I mentioned before, not everything in Git is easy to work with. Adding Submodules to a Git Repository There are three main parts to this command: Using Submodules Closing Thoughts.