Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/bin/clean.sh
blob: a1ae6b3d8da5df944a400e73e44ccc55c0ae2f96 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/bash

# This file deletes modifications done by build.sh to avoid svn conflicts

echo "Cleaning Build Files"

cd ../site/app/

rm -f config/revisions.php

rm -f webroot/js/__utm.min.js
rm -f webroot/js/jquery.addons.min.js

rm -f webroot/css/style.min.css

# Clean caches
rm -rf tmp/cache/models/*
rm -rf tmp/cache/persistent/*
rm -rf tmp/cache/views/*

# Remove all .mo files
#   Not doing this probably wouldn't cause a conflict, but better to be safe
find locale/ -name *.mo -exec rm -f {} \;

echo "Done"