Browse files

Moved things a bit and added a README.

  • Loading branch information...
1 parent 6d89d33 commit d461cc1915cfd45937ee1b3d772f0a4b329c6aad @theunraveler committed Feb 20, 2011
View
5 README.md
@@ -0,0 +1,5 @@
+This is my no nonsense, plain language freelance contract.
+
+You can use it if you want, but please remove all details relevant to my business.
+
+It comes with a compile script. To run it, type `./compile` from the repository root. It requires Ruby and the Markdown and HTMLDOC command line tools.
View
9 compile
@@ -1,16 +1,17 @@
#!/usr/bin/env ruby
-system "rm contract.pdf"
+system "rm contract.pdf" if File.exists?("./contract.pdf")
+system "mkdir html"
files = String.new
-Dir.new(".").each do |file|
+Dir.new("./pages").each do |file|
if file.include? ".md"
- system "markdown '#{file}' > 'html/#{file}.html'"
+ system "markdown 'pages/#{file}' > 'html/#{file}.html'"
files << "'html/#{file}.html' " unless file == '00-Title Page.md'
end
end
system "htmldoc --book --titlefile 'html/00-Title Page.md.html' -f contract.pdf #{files}"
-system "rm html/*.html"
+system "rm -rf html"
View
BIN contract.pdf
Binary file not shown.
View
0 html/logo.png → images/logo.png
File renamed without changes
View
2 00-Title Page.md → pages/00-Title Page.md
@@ -1,4 +1,4 @@
-![Born To Raise Design logo](logo.png)
+![Born To Raise Design logo](../images/logo.png)
##Born To Raise Design##
###Official Contract###
View
0 01-Introduction.md → pages/01-Introduction.md
File renamed without changes.
View
0 02-Scope.md → pages/02-Scope.md
File renamed without changes.
View
0 03-Payment.md → pages/03-Payment.md
File renamed without changes.
View
0 04-Open Source.md → pages/04-Open Source.md
File renamed without changes.

0 comments on commit d461cc1

Please sign in to comment.