Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

smarty-lint

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Tips and Tricks
View previous topic :: View next topic  
Author Message
lorderunion
Smarty Rookie


Joined: 13 Jun 2008
Posts: 8
Location: San Francisco, CA

PostPosted: Fri Jun 13, 2008 8:45 am    Post subject: smarty-lint Reply with quote

Just finished this up. I've been wanting to do this for a while now, but haven't had the time until I quit my job earlier this week.

http://code.google.com/p/smarty-lint/

Quote:
smarty-lint is a lint implementation for the Smarty templating engine.

smarty-lint was developed out of necessity and with simplicity of use in mind. I am sure many of us all have committed broken templates file into our trunk repository without testing only to have it break a page because of a missing $, or that you forgot to close out your {foreach} statement.

From here you can easily integrate smarty-lint into your build system so that before committing anything into your repository you can run a template lint check alongside your normal code lints.
Back to top
View user's profile Send private message Send e-mail AIM Address
djn
Smarty Rookie


Joined: 15 Nov 2004
Posts: 13
Location: Trst

PostPosted: Sun Jan 18, 2009 11:43 pm    Post subject: Reply with quote

Thank you for this! It took me some time to understand the errors I was getting on Windows, but now I have it running straight out of Notepad++. Simply great.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Tips and Tricks All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP