Skip to content

Commit

Permalink
Merge pull request #339 from shivam71/readme_fix
Browse files Browse the repository at this point in the history
Changes to maintain a single README file.
  • Loading branch information
sid-srini authored Dec 10, 2024
2 parents 59f15fd + c8cfbb5 commit b86b93a
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 212 deletions.
23 changes: 20 additions & 3 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -246,19 +246,36 @@

<copy file="${basedir}/LICENSE.txt" todir="${basedir}/vscode" />
<copy file="${basedir}/THIRD_PARTY_LICENSES.txt" todir="${basedir}/vscode" />

<copy file="${basedir}/README.md" todir="${basedir}/vscode" />
<replace file="${basedir}/vscode/README.md" value="">
<replacetoken><![CDATA[[![Visual Studio Marketplace](https://img.shields.io/visual-studio-marketplace/v/Oracle.oracle-java?style=for-the-badge&label=VS%20Marketplace&logo=visual-studio-code)](https://marketplace.visualstudio.com/items?itemName=Oracle.oracle-java)
]]></replacetoken>
</replace>
<replace file="${basedir}/vscode/README.md" value="">
<replacetoken><![CDATA[[![Installs](https://img.shields.io/visual-studio-marketplace/i/Oracle.oracle-java?style=for-the-badge)](https://marketplace.visualstudio.com/items?itemName=Oracle.oracle-java)
]]></replacetoken>
</replace>
<replace file="${basedir}/vscode/README.md" value="">
<replacetoken><![CDATA[[![Build Status](https://img.shields.io/github/actions/workflow/status/oracle/javavscode/main.yml?branch=main&style=for-the-badge&logo=github)](https://github.com/oracle/javavscode/actions?query=workflow:Java%20Platform%20Support%20for%20Visual%20Studio%20Code)
]]></replacetoken>
</replace>
<replace file="${basedir}/vscode/README.md" value="">
<replacetoken><![CDATA[[![License](https://img.shields.io/github/license/oracle/javavscode?style=for-the-badge&logo=apache)](https://github.com/oracle/javavscode/blob/main/LICENSE.txt)
]]></replacetoken>
</replace>
<exec executable="${build.dir}/vsce/node_modules/.bin/vsce${cmd.suffix}" failonerror="true" dir="${basedir}/vscode">
<arg value="package" />
<arg line="${vsce.extra.args}" />
<arg value="--baseContentUrl" />
<arg value="https://github.com/oracle/javavscode/blob/${metabuild.hash}/vscode" />
<arg value="https://github.com/oracle/javavscode/blob/${metabuild.hash}/" />
<arg value="--baseImagesUrl" />
<arg value="https://github.com/oracle/javavscode/raw/${metabuild.hash}/vscode" />
<arg value="https://github.com/oracle/javavscode/raw/${metabuild.hash}/" />
<arg value="--out" />
<arg value="${build.dir}/oracle-java-${vsix.version}.vsix" />
</exec>
<delete file="${basedir}/vscode/LICENSE.txt"/>
<delete file="${basedir}/vscode/THIRD_PARTY_LICENSES.txt"/>
<delete file="${basedir}/vscode/README.md"/>
</target>
<target name="test-lsp-server" description="Tests the LSP server behavior">
<ant dir="nbcode" target="test" inheritall="false" inheritrefs="false">
Expand Down
3 changes: 2 additions & 1 deletion vscode/.vscodeignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ vsc-extension-quickstart.md
.nyc_output/**
coverage/**
**/.nycrc.json
esbuild.js
esbuild.js
images/*
207 changes: 0 additions & 207 deletions vscode/README.md

This file was deleted.

File renamed without changes
2 changes: 1 addition & 1 deletion vscode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"url": "https://github.com/oracle/javavscode"
},
"publisher": "Oracle",
"icon": "images/logo.png",
"icon": "icons/logo.png",
"categories": [
"Programming Languages",
"Debuggers",
Expand Down

0 comments on commit b86b93a

Please sign in to comment.