added make_resource_list

git-svn-id: https://callirhoe.googlecode.com/svn/branches/phantome@173 81c8bb96-aa45-f2e2-0eef-c4fa4a15c6df
This commit is contained in:
ph4ntome@gmail.com 2014-10-31 12:22:57 +00:00
parent 9836d79fd1
commit d6221eff89

10
make_resources_list Executable file
View File

@ -0,0 +1,10 @@
#!/bin/bash
echo -n resource_list = { \"lang\" : [
find ./lang | grep '.py' | sed 's/\.\//"/' | sed 's/$/"/' | tr '\n' ',' | sed 's/.$/], /'
echo -n \"layouts\" : [
find ./layouts | grep '.py' | sed 's/\.\//"/' | sed 's/$/"/' | tr '\n' ',' | sed 's/.$/], /'
echo -n \"style\" : [
find ./style | grep '.py' | sed 's/\.\//"/' | sed 's/$/"/' | tr '\n' ',' | sed 's/.$/], /'
echo -n \"geom\" : [
find ./geom | grep '.py' | sed 's/\.\//"/' | sed 's/$/"/' | tr '\n' ',' | sed 's/.$/]}/'