aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2011-03-29 20:49:27 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2011-03-29 20:49:27 -0400
commit91abbaddbeb4a18ceee14f0784c557e766b55e34 (patch)
tree4598bd2d21bdd4074074687683cb615e2dea79ed
parent56ca83c50e928fc01200021a851215aa26d03f50 (diff)
downloadtextadept-91abbaddbeb4a18ceee14f0784c557e766b55e34.tar.gz
textadept-91abbaddbeb4a18ceee14f0784c557e766b55e34.zip
Officially supported modules are available as a separate download.
-rw-r--r--doc/manual/7_Modules.md4
-rw-r--r--src/Makefile15
2 files changed, 14 insertions, 5 deletions
diff --git a/doc/manual/7_Modules.md b/doc/manual/7_Modules.md
index dba398a3..72880974 100644
--- a/doc/manual/7_Modules.md
+++ b/doc/manual/7_Modules.md
@@ -79,8 +79,8 @@ change them or use different settings, see the
## Getting Modules
The officially supported language modules are hosted on
-[Bitbucket](https://bitbucket.org/mitchell) and come with Textadept by default.
-To upgrade to the most recent version of a module, you can either use
+[Bitbucket](https://bitbucket.org/mitchell) and are available as a separate
+download. To upgrade to the most recent version of a module, you can either use
[Mercurial](http://mercurial.selenic.com) (run `hg pull` and then `hg update` on
or from within the module) or download a zipped version from the module's
repository homepage and overwrite the existing one. If you do not have access to
diff --git a/src/Makefile b/src/Makefile
index 27db6f50..da7c0219 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -146,6 +146,9 @@ PACKAGE64 = ../releases/$(RELEASEDIR64).tgz
PACKAGEWIN32 = ../releases/$(RELEASEDIRWIN32).zip
PACKAGEMAC = ../releases/$(RELEASEDIRMAC).zip
SRCPACKAGE = ../releases/$(RELEASEDIR32).src.zip
+MODULES = css hypertext java rails rhtml ruby
+MODULESDIR = $(RELEASEDIR32)/modules
+MODULESPKG = ../releases/$(RELEASEDIR32).modules.zip
release: ../$(TEXTADEPT) ../$(TEXTADEPT32) ../$(TEXTADEPTWIN32) \
../$(TEXTADEPTMAC) ../$(TEXTADEPTLPNG12)
@@ -156,9 +159,6 @@ release: ../$(TEXTADEPT) ../$(TEXTADEPT32) ../$(TEXTADEPTWIN32) \
hg clone http://scintillua.googlecode.com/hg/ tmp
mv tmp/lexers $(RELEASEDIR32)
rm -r tmp
- hg clone http://modules.textadept.googlecode.com/hg tmp
- mv tmp/* $(RELEASEDIR32)/modules
- rm -r tmp
# Linux x64_64
cp -r $(RELEASEDIR32) $(RELEASEDIR64)
cp ../$(TEXTADEPT64) $(RELEASEDIR64)
@@ -190,5 +190,14 @@ release: ../$(TEXTADEPT) ../$(TEXTADEPT32) ../$(TEXTADEPTWIN32) \
cp -rL lua scintilla gcocoadialog LexLPeg.cxx $(RELEASEDIR32)/src/
rm -r $(RELEASEDIR32)/src/scintilla/.hg
zip -r $(SRCPACKAGE) $(RELEASEDIR32)
+ rm -r $(RELEASEDIR32)
+ # Modules
+ mkdir -p $(MODULESDIR)
+ for module in $(MODULES); \
+ do \
+ hg clone https://bitbucket.org/mitchell/$$module $(MODULESDIR)/$$module; \
+ done
+ zip -r $(MODULESPKG) $(MODULESDIR)
+ rm -r $(MODULESDIR)
# Done
rm -r $(RELEASEDIR32)