kunstmusik avatar kunstmusik committed af3d3a1

made package.cspm the default name for package descriptors

Comments (0)

Files changed (7)

-package.cspm
 *~
 *tar.bz2
 testRepo
 cd testRepo
 mkdir packages
 cd packages 
-../../cspm.py build ../../testPackages/test/test.cspm
-../../cspm.py build ../../testPackages/test2/test2.cspm
+../../cspm.py build ../../testPackages/test/package.cspm
+../../cspm.py build ../../testPackages/test2/package.cspm
 cd ..
 echo "<packages>" > cspmrepo.xml
-../cspm.py xml ../testPackages/test/test.cspm >> cspmrepo.xml
-../cspm.py xml ../testPackages/test2/test2.cspm >> cspmrepo.xml
+../cspm.py xml ../testPackages/test/package.cspm >> cspmrepo.xml
+../cspm.py xml ../testPackages/test2/package.cspm >> cspmrepo.xml
 echo "</packages>" >> cspmrepo.xml
     author = args.author
     email = args.email
          
-    f = open(pkgName + '.cspm', 'w')
+    f = open('package.cspm', 'w')
     
     c = ConfigParser.RawConfigParser()
     section = 'package'
     f.flush()
     f.close()
     
-    print "Created %s.cspm file"%pkgName
+    print "Created package.cspm file"
 
 # BUILD COMMAND ################################
 

testPackages/test/package.cspm

+[package]
+name = test
+version = 1.0
+author = Steven Yi
+email = stevenyi@gmail.com
+description = description of test
+website = None
+license = None
+copyright = None
+files = test.udo 
+ 	README
+dependencies = None
+

testPackages/test/test.cspm

-[package]
-name = test
-version = 1.0
-author = Steven Yi
-email = stevenyi@gmail.com
-description = description of test
-website = None
-license = None
-copyright = None
-files = test.udo 
- 	README
-dependencies = None
-

testPackages/test2/package.cspm

+[package]
+name = test2
+version = 1.0
+author = Steven Yi
+email = stevenyi@gmail.com
+description = description of test2
+website = None
+license = None
+copyright = None
+files = test2.udo 
+dependencies = test-1.0 
+

testPackages/test2/test2.cspm

-[package]
-name = test2
-version = 1.0
-author = Steven Yi
-email = stevenyi@gmail.com
-description = description of test2
-website = None
-license = None
-copyright = None
-files = test2.udo 
-dependencies = test-1.0 
-
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.