Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Version bump; updated Makefile to create ZIP distribution file

  • Loading branch information...
commit 0d759acda19d5ba3a5981f0d5afe86ab924d7940 1 parent 4f01dbe
@rstacruz authored
View
5 .gitignore
@@ -1,9 +1,14 @@
.DS_Store
.project
doc
+distribution/
.sourcescribe_index
*.swp
*.swo
*.pyc
cscope.out
*~
+
+# Distribution files
+# */sparkup
+# */sparkup.py
View
33 Makefile
@@ -1,9 +1,38 @@
SPARKUP_PY=sparkup
-.PHONY: all textmate vim
-all: textmate vim
+VERSION=`date '+%Y%m%d'`
+README=README.md
+
+.PHONY: all textmate vim textmate-dist vim-dist plugins plugins-pre generic all-dist
+all: plugins
+
+plugins-pre:
+ mkdir -p distribution
+
+plugins: plugins-pre all-dist
+
+textmate-dist: textmate
+ cd TextMate && zip -9r ../distribution/sparkup-textmate-${VERSION}.zip . && cd ..
+
+vim-dist: vim
+ cd vim && zip -9r ../distribution/sparkup-vim-${VERSION}.zip . && cd ..
+
+generic-dist: generic
+ cd generic && zip -9r ../distribution/sparkup-generic-${VERSION}.zip . && cd ..
+
+all-dist:
+ zip -9r distribution/sparkup-${VERSION}.zip generic vim textmate README.md -x */sparkup-readme.txt
+
+generic:
+ cat sparkup.py > generic/sparkup
+ chmod +x generic/sparkup
+ #cp ${README} generic/sparkup-readme.txt
+
textmate:
mkdir -p TextMate/Sparkup.tmbundle/Support
cp ${SPARKUP_PY} TextMate/Sparkup.tmbundle/Support/sparkup.py
+ #cp ${README} TextMate/sparkup-readme.txt
+
vim:
mkdir -p vim/ftplugin/html
cp ${SPARKUP_PY} vim/ftplugin/html/sparkup.py
+ #cp ${README} vim/sparkup-readme.txt
View
2  TextMate/Sparkup.tmbundle/Support/sparkup.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
-version = "0.1.2"
+version = "0.1.3"
import os
import fileinput
View
2  sparkup
@@ -1,6 +1,6 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
-version = "0.1.2"
+version = "0.1.3"
import os
import fileinput
View
2  vim/ftplugin/html/sparkup.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
-version = "0.1.2"
+version = "0.1.3"
import os
import fileinput

0 comments on commit 0d759ac

Please sign in to comment.
Something went wrong with that request. Please try again.