projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3810b5b
)
buildSDK/less-bootstrap-compiler.php
author
edward
<edward@roojs.com>
Thu, 30 Nov 2017 07:05:24 +0000
(15:05 +0800)
committer
edward
<edward@roojs.com>
Thu, 30 Nov 2017 07:05:24 +0000
(15:05 +0800)
buildSDK/less-bootstrap-compiler.php
patch
|
blob
|
history
diff --git
a/buildSDK/less-bootstrap-compiler.php
b/buildSDK/less-bootstrap-compiler.php
index
5f51fdc
..
5b1281c
100644
(file)
--- a/
buildSDK/less-bootstrap-compiler.php
+++ b/
buildSDK/less-bootstrap-compiler.php
@@
-1,5
+1,10
@@
<?php
-echo getcwd() . "\n";
+$cwd = getcwd();
+
+if(array_pop(explode('/', $cwd)) !== 'roojs1'){
+ echo "this should be run in roojs1 directory...\n";
+ exit;
+}
echo __DIR__;
\ No newline at end of file