mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-10-31 14:10:08 +00:00
16 lines
452 B
PHP
16 lines
452 B
PHP
|
#!/usr/bin/env php
|
||
|
<?php
|
||
|
@unlink('file.tar');
|
||
|
@unlink('template.tar');
|
||
|
@unlink('timwolla.wcf.chat.tar');
|
||
|
#exec('coffee -c file/js/*.coffee');
|
||
|
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');
|