Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 11 lines (8 sloc) 273 Bytes
#!/usr/bin/env ruby
# -----------------------------------------
# Run:
# $ ./generate.rb 1
# to create a new solution directory for problem #1.
system("mkdir #{ARGV[0]}")
system("cp -f template.rb #{ARGV[0]}/solution.rb")
system("cp -f template.c #{ARGV[0]}/solution.c")