Skip to content

Instantly share code, notes, and snippets.

@timfel
Created February 1, 2010 16:29
Show Gist options
  • Save timfel/291797 to your computer and use it in GitHub Desktop.
Save timfel/291797 to your computer and use it in GitHub Desktop.
for i in $(ls app/controllers/companies_controller.rb app/controllers/contacts_controller.rb app/controllers/history_items_controller.rb app/helpers/accounts_helper.rb app/helpers/contacts_helper.rb app/models/account.rb app/models/bank_account.rb app/models/company.rb app/models/contact.rb app/models/customer.rb app/models/employee.rb app/models/history_item.rb app/models/history_observer.rb app/modules/accounts.rb app/modules/contacts.rb app/views/accounts/* app/views/companies/* app/views/contacts/* app/views/history_items/* features/contacts.feature features/accounts.feature features/history_items.feature spec/controllers/contacts_controller_spec.rb spec/controllers/contacts_routing_spec.rb spec/factories/account.rb spec/factories/contact.rb spec/factories/company.rb spec/factories/bank_account.rb spec/factories/history_item.rb spec/helpers/accounts_helper_spec.rb spec/helpers/contacts_helper_spec.rb spec/models/allmodels_spec.rb spec/models/account_spec.rb spec/models/bank_account_spec.rb spec/models/company_spec.rb spec/models/contact_spec.rb spec/models/history_item_spec.rb); do export FILE="$(cat $i)"; echo "# Copyright 2009, 2010 Tim Felgentreff, Lysann Kessler, Christina Palm, Stepahnie Platz, Frank Schlegel, Philipp Tessenow
#
# This file is part of AutobahnERP_AccountsAndContacts
#
# AutobahnERP_Invoice is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# AutobahnERP_Invoice is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with AutobahnERP_Invoice. If not, see <http://www.gnu.org/licenses/>.
" > $i; echo "$FILE" >> "$i"; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment