Skip to content

Commit

Permalink
build script
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew committed Jul 16, 2012
1 parent 4d4c37f commit 4da173f
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 0 deletions.
19 changes: 19 additions & 0 deletions build.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
targets = [
"node_4kp.parts",
]



def buildFile(partsfile):
out = open(partsfile[:-1*len('.path')-1] + ".js" , 'w')
for fname in open(partsfile):
fname = fname.strip()
for num,line in enumerate(open(fname)):
line = line.rstrip()
out.write(line + " // %s:%d\n"%(fname,num))
out.flush()
out.close()


for target in targets:
buildFile(target)
Binary file added docs/4KcProgMan.pdf
Binary file not shown.
1 change: 1 addition & 0 deletions node_4kp.parts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
OctetBuffer.js

0 comments on commit 4da173f

Please sign in to comment.