f
This commit is contained in:
parent
38fc31091d
commit
d367f7d97f
2
dev.less
2
dev.less
@ -15,7 +15,7 @@ border: 1px solid yellow;
|
|||||||
/******/
|
/******/
|
||||||
|
|
||||||
body::before {
|
body::before {
|
||||||
content: 'Development Server <small>(DEVBUILDID)</small>';
|
content: 'Development Server (DEVBUILDID)';
|
||||||
background: #f00;
|
background: #f00;
|
||||||
padding: 5px 10px;
|
padding: 5px 10px;
|
||||||
display: block;
|
display: block;
|
||||||
|
2
pull.php
2
pull.php
@ -1,3 +1,3 @@
|
|||||||
<?php
|
<?php
|
||||||
passthru('git pull 2>error.txt && (lessc dev.less > dev.css 2>error.txt)');
|
passthru('git pull 2>error.txt && (lessc dev.less > dev.css 2>error.txt)');
|
||||||
sed -i dev.css -e "s/DEVBUILDID/`git rev-parse HEAD`/"
|
passthru('sed -i dev.css -e "s/DEVBUILDID/`git rev-parse HEAD`/"');
|
||||||
|
Loading…
Reference in New Issue
Block a user