blob: 32c820b457b703220208894a4aa7db591237f31b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#!/usr/bin/env python
try:
from sugar.activity import bundlebuilder
bundlebuilder.start("moon")
except ImportError:
import os
os.system("find ./ | sed 's,^./,Moon.activity/,g' | sed 's,//,/,g' | grep -v /.git > MANIFEST")
os.system('rm Moon.xo')
os.chdir('..')
os.system('zip -r Moon.xo Moon.activity -x \*/.git\*')
os.system('mv Moon.xo ./Moon.activity')
os.chdir('Moon.activity')
|