1
0
mirror of https://github.com/wbbaddons/Tims-Chat.git synced 2024-12-22 21:40:08 +00:00
Tims-Chat/build.php

16 lines
452 B
PHP
Raw Normal View History

2011-12-26 14:49:33 +00:00
#!/usr/bin/env php
<?php
@unlink('file.tar');
@unlink('template.tar');
@unlink('timwolla.wcf.chat.tar');
exec('coffee -cb file/js/*.coffee');
2011-12-26 14:49:33 +00:00
chdir('file');
exec('tar cvf ../file.tar * --exclude=*.coffee');
chdir('..');
chdir('template');
exec('tar cvf ../template.tar *');
chdir('..');
exec('tar cvf timwolla.wcf.chat.tar * --exclude=file --exclude=template --exclude=build.php');
@unlink('file.tar');
@unlink('template.tar');
exec('rm file/js/*.js');