Skip to content

Commit

Permalink
Remove generated new from repo and add to post-merge script
Browse files Browse the repository at this point in the history
  • Loading branch information
o11c committed Dec 19, 2013
1 parent e34e49d commit 91498af
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 947 deletions.
1 change: 1 addition & 0 deletions GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ indent-mobs: tools/aligncsv

world/map/news.txt world/map/news.html: tools/news.py tools/_news_colors.py world/map/news.d/* world/map/news.d/
tools/news.py world/map/ world/map/news.d/
chmod a+r world/map/news.txt world/map/news.html

news: world/map/news.txt world/map/news.html
updates:
Expand Down
1 change: 1 addition & 0 deletions git/hooks/post-merge
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
# (rebase is better but dangerous in some circumstances)
# git submodule update --rebase
git submodule update --merge
make news

# WARNING: to people with push access.
# it is essential that changes to the client data be pushed before changes to server data
Expand Down
2 changes: 2 additions & 0 deletions world/map/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/news.html
/news.txt
Loading

0 comments on commit 91498af

Please sign in to comment.