Skip to content

Commit

Permalink
Add toml textmate bundle.
Browse files Browse the repository at this point in the history
  • Loading branch information
fabioz committed Oct 8, 2023
1 parent 2ef96aa commit bced571
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 21 deletions.
Original file line number Diff line number Diff line change
@@ -1,52 +1,52 @@
Update the version:

x:
cd x:\liclipsetext
python update_version.py 2.4.0
cd X:\liclipsews\liclipsews\LiClipseText
python update_version.py 2.5.0



X:\liclipsetext\features\org.brainwy.liclipsetext.feature\build_liclipsetext.bat
X:\liclipsews\liclipsews\LiClipseText\features\org.brainwy.liclipsetext.feature\build_liclipsetext.bat

x:
cd X:\liclipsetext_build\build_dir\liclipsetext\features\org.brainwy.liclipsetext.p2-repo\target\runnable
"C:\Program Files\7-Zip\7z" a -tzip -r "LiClipseText 2.4.0.zip" features plugins
cd X:\liclipsetext_build\build_dir\liclipsetext
git archive -o "X:\liclipsetext_build\build_dir\liclipsetext\features\org.brainwy.liclipsetext.p2-repo\target\runnable\LiClipseText 2.4.0-sources.zip" origin/master
cd X:\liclipsews\liclipsews\LiClipseText_build\build_dir\liclipsetext\features\org.brainwy.liclipsetext.p2-repo\target\runnable
"C:\Program Files\7-Zip\7z" a -tzip -r "LiClipseText 2.5.0.zip" features plugins
cd X:\liclipsews\liclipsews\LiClipseText_build\build_dir\liclipsetext
git archive -o "X:\liclipsews\liclipsews\LiClipseText_build\build_dir\liclipsetext\features\org.brainwy.liclipsetext.p2-repo\target\runnable\LiClipseText 2.5.0-sources.zip" origin/master


cd /D X:\liclipsetext_build\build_dir\liclipsetext\features\org.brainwy.liclipsetext.p2-repo\target\
mkdir org.brainwy.liclipsetext.p2-repo-2.4.0-SNAPSHOT
cd org.brainwy.liclipsetext.p2-repo-2.4.0-SNAPSHOT
"C:\Program Files\7-Zip\7z" x ..\org.brainwy.liclipsetext.p2-repo-2.4.0-SNAPSHOT.zip
cd /D X:\liclipsews\liclipsews\LiClipseText_build\build_dir\liclipsetext\features\org.brainwy.liclipsetext.p2-repo\target\
mkdir org.brainwy.liclipsetext.p2-repo-2.5.0-SNAPSHOT
cd org.brainwy.liclipsetext.p2-repo-2.5.0-SNAPSHOT
"C:\Program Files\7-Zip\7z" x ..\org.brainwy.liclipsetext.p2-repo-2.5.0-SNAPSHOT.zip


set CONVERT_SOURCE=X:\liclipsetext_build\build_dir\liclipsetext\features\org.brainwy.liclipsetext.p2-repo\target\org.brainwy.liclipsetext.p2-repo-2.4.0-SNAPSHOT
SET CONVERT_FINAL_ZIP=X:\liclipsetext_build\build_dir\liclipsetext\features\org.brainwy.liclipsetext.p2-repo\target\runnable\LiClipseText 2.4.0.zip
SET CONVERT_TARGET_DIR=X:\liclipsetext_build\build_dir\liclipsetext\features\org.brainwy.liclipsetext.p2-repo\target\github
python X:\release_tools\convert_to_github.py 2.4.0
set CONVERT_SOURCE=X:\liclipsews\liclipsews\LiClipseText_build\build_dir\liclipsetext\features\org.brainwy.liclipsetext.p2-repo\target\org.brainwy.liclipsetext.p2-repo-2.5.0-SNAPSHOT
SET CONVERT_FINAL_ZIP=X:\liclipsews\liclipsews\LiClipseText_build\build_dir\liclipsetext\features\org.brainwy.liclipsetext.p2-repo\target\runnable\LiClipseText 2.5.0.zip
SET CONVERT_TARGET_DIR=X:\liclipsews\liclipsews\LiClipseText_build\build_dir\liclipsetext\features\org.brainwy.liclipsetext.p2-repo\target\github
python X:\release_tools\convert_to_github.py 2.5.0


** Submit p2 repository to github

git tag liclipsetext_2_4_0 -a -m "LiClipseText 2.4.0"
git tag liclipsetext_2_5_0 -a -m "LiClipseText 2.5.0"
git push --tags


Do GH release in:
https://github.com/fabioz/LiClipseText/releases/new?tag=liclipsetext_2_4_0
Contents in: X:\liclipsetext_build\build_dir\liclipsetext\features\org.brainwy.liclipsetext.p2-repo\target\github
https://github.com/fabioz/LiClipseText/releases/new?tag=liclipsetext_2_5_0
Contents in: X:\liclipsews\liclipsews\LiClipseText_build\build_dir\liclipsetext\features\org.brainwy.liclipsetext.p2-repo\target\github
Message:

This release contains LiClipseText 2.4.0
This release contains LiClipseText 2.5.0

It's possible to add it as an Eclipse update site using the url:

https://github.com/fabioz/LiClipseText/releases/download/liclipsetext_2_4_0/
https://github.com/fabioz/LiClipseText/releases/download/liclipsetext_2_5_0/

Or get a .zip to install manually by unzipping it in the dropins:

https://github.com/fabioz/LiClipseText/releases/download/liclipsetext_2_4_0/LiClipseText.2.4.0.zip
https://github.com/fabioz/LiClipseText/releases/download/liclipsetext_2_5_0/LiClipseText.2.5.0.zip


Update the homepage at liclipse.page:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ curl -L -o cmake.tmbundle https://github.com/textmate/cmake.tmbundle/archive/mas
curl -L -o javascript.tmbundle https://github.com/textmate/javascript.tmbundle/archive/master.zip
curl -L -o typescript.tmbundle https://github.com/stanger/TypeScript-TextMate/raw/master/dist/TypeScript.tmbundle.zip
curl -L -o json.tmbundle https://github.com/textmate/json.tmbundle/archive/master.zip
curl -L -o toml.tmbundle https://github.com/textmate/toml.tmbundle/archive/master.zip

LiClipse should then automatically recognize the bundle.

Expand Down
Binary file not shown.

0 comments on commit bced571

Please sign in to comment.