Skip to content

Commit

Permalink
updated skript & readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Markus Emrich committed Feb 14, 2013
1 parent 2035faf commit 3dc562e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
9 changes: 6 additions & 3 deletions .generateDescription.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,12 @@
import os
import glob

file = open('readme.md', 'w')
file.write('# CodeSnippets\n\nThese are my Xcode 4 CodeSnippets. Just check them out into the following path:\n\n')
file.write('`~/Library/Developer/Xcode/UserData/CodeSnippets`\n\nAnd you\'re ready to go.\n\n')
file = open('README.md', 'w')
file.write('# CodeSnippets\n\nThese are my Xcode 4 CodeSnippets. Just clone them into the following path: \n')
file.write('The folder must be empty, to clone the repository directly in it.\n\n')
file.write(' cd ~/Library/Developer/Xcode/UserData/CodeSnippets\n')
file.write(' git clone git@github.com:jaydee3/CodeSnippets.git .\n\n')
file.write('And you\'re ready to go.\n\n')
file.write('## Snippet Descriptions\n\n(generated with .generateDescription.py)\n\n')

listing = os.listdir(".")
Expand Down
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
# CodeSnippets

These are my Xcode 4 CodeSnippets. Just check them out into the following path:
These are my Xcode 4 CodeSnippets. Just clone them into the following path:
The folder must be empty, to clone the repository directly in it.

`~/Library/Developer/Xcode/UserData/CodeSnippets`
cd ~/Library/Developer/Xcode/UserData/CodeSnippets
git clone git@github.com:jaydee3/CodeSnippets.git .

And you're ready to go.

Expand Down

0 comments on commit 3dc562e

Please sign in to comment.