This repository has been archived by the owner on Sep 10, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Start working on Yard (Issue neard/neard#157)
- Loading branch information
crazy-max
committed
Jun 17, 2017
0 parents
commit 0770949
Showing
16 changed files
with
128 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Eclipse | ||
/.settings | ||
/.buildpath | ||
/.project | ||
/.jsdtscope | ||
/*.launch | ||
|
||
# Jetbrains | ||
/*.iml | ||
|
||
# Neard | ||
/.dev |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Changelog | ||
|
||
## r1 (2017/06/16) | ||
|
||
* Initial version with release 0.24.6 (Issue #157) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
[![GitHub release](https://img.shields.io/github/release/crazy-max/neard-tool-yarn.svg?style=flat-square)](https://github.com/crazy-max/neard-tool-yarn/releases/latest) | ||
![Total downloads](https://img.shields.io/github/downloads/crazy-max/neard-tool-yarn/total.svg?style=flat-square) | ||
|
||
This a module of [Neard project](https://github.com/crazy-max/neard) involving Yarn. | ||
|
||
## Documentation and downloads | ||
|
||
http://neard.io/tools/yarn | ||
|
||
## Issues | ||
|
||
Issues must be reported on [Neard repository](https://github.com/crazy-max/neard/issues). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
nodejs = https://github.com/crazy-max/neard-modules-untouched/releases/download/yarn-r1/node-v6.11.0-x86.msi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
yarnVersion = "0.24.6" | ||
yarnExe = "yarn.bat" | ||
|
||
bundleRelease = "@RELEASE_VERSION@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
cache = ~NEARD_WIN_PATH~\tmp\npm-cache | ||
globalconfig = ~NEARD_WIN_PATH~\tools\yarn\yarn0.24.6\nodejs\etc\npmrc | ||
globalignorefile = ~NEARD_WIN_PATH~\tools\yarn\yarn0.24.6\nodejs\etc\.npmignore | ||
init-module = ~NEARD_WIN_PATH~\tools\yarn\yarn0.24.6\nodejs\etc\.npm-init.js | ||
userconfig = ~NEARD_WIN_PATH~\tools\yarn\yarn0.24.6\nodejs\etc\npmrc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
cache = ~NEARD_WIN_PATH~\tmp\npm-cache | ||
globalconfig = ~NEARD_WIN_PATH~\tools\yarn\yarn0.24.6\nodejs\etc\npmrc | ||
globalignorefile = ~NEARD_WIN_PATH~\tools\yarn\yarn0.24.6\nodejs\etc\.npmignore | ||
init-module = ~NEARD_WIN_PATH~\tools\yarn\yarn0.24.6\nodejs\etc\.npm-init.js | ||
userconfig = ~NEARD_WIN_PATH~\tools\yarn\yarn0.24.6\nodejs\etc\npmrc |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
6.11.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
@ECHO OFF | ||
"%~dp0\nodejs\node.exe" "%~dp0\bin\yarn.js" %* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
@ECHO OFF | ||
"%~dp0\yarn.bat" %* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
bundle.name = yarn | ||
bundle.release = r1 | ||
bundle.type = tools | ||
bundle.format = 7z | ||
|
||
#build.path = C:/neard-build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<project name="neard-tool-yarn" basedir="."> | ||
|
||
<dirname property="project.basedir" file="${ant.file.neard-tool-yarn}"/> | ||
<property name="root.dir" location="${project.basedir}/.."/> | ||
<property name="build.properties" value="${project.basedir}/build.properties"/> | ||
<property file="${build.properties}"/> | ||
|
||
<!-- Neard dev --> | ||
<property name="neard-dev.path" location="${root.dir}/neard-dev"/> | ||
<fail unless="neard-dev.path" message="Project 'neard-dev' not found in ${neard-dev.path}"/> | ||
<echo message="Neard dev found in ${neard-dev.path}" level="debug"/> | ||
|
||
<!-- Import build-commons.xml --> | ||
<import file="${neard-dev.path}/build/build-commons.xml"/> | ||
<!-- Import build-bundle.xml --> | ||
<import file="${neard-dev.path}/build/build-bundle.xml"/> | ||
|
||
<target name="release.build"> | ||
<basename property="bundle.folder" file="${bundle.path}"/> | ||
<replaceproperty src="bundle.folder" dest="bundle.version" replace="${bundle.name}" with=""/> | ||
|
||
<getmoduleuntouched name="${bundle.name}" version="${bundle.version}" propSrcDest="bundle.srcdest" propSrcFilename="bundle.srcfilename"/> | ||
<assertfile file="${bundle.srcdest}/${bundle.srcfilename}"/> | ||
|
||
<property name="msiextract.path" value="${bundle.srcdest}/extract"/> | ||
<extractmsi file="${bundle.srcdest}/${bundle.srcfilename}" dest="${msiextract.path}"/> | ||
<property name="bundle.srcfinal" value="${msiextract.path}/Yarn"/> | ||
<assertfile file="${bundle.srcfinal}/bin/yarn.js"/> | ||
|
||
<!-- Temp copy --> | ||
<copy todir="${bundle.srcfinal}" overwrite="true"> | ||
<fileset dir="${bundle.path}" defaultexcludes="yes"/> | ||
</copy> | ||
|
||
<!-- Deps --> | ||
<if> | ||
<available file="${bundle.srcfinal}/deps.properties" type="file"/> | ||
<then> | ||
<property prefix="yarn" file="${bundle.srcfinal}/deps.properties"/> | ||
<!-- nodejs --> | ||
<if> | ||
<isset property="yarn.nodejs"/> | ||
<then> | ||
<property name="nodejs.path" value="${bundle.srcdest}/nodejs"/> | ||
<download url="${yarn.nodejs}" returnProperty="nodejs.dest"/> | ||
<extractmsi file="${nodejs.dest}" dest="${nodejs.path}"/> | ||
<assertfile file="${nodejs.path}/nodejs/node.exe"/> | ||
<copy todir="${bundle.srcfinal}/nodejs" overwrite="true"> | ||
<fileset dir="${nodejs.path}/nodejs"/> | ||
</copy> | ||
</then> | ||
</if> | ||
<delete file="${bundle.srcfinal}/deps.properties"/> | ||
</then> | ||
</if> | ||
|
||
<delete dir="${bundle.tmp.prep.path}/${bundle.folder}"/> | ||
<mkdir dir="${bundle.tmp.prep.path}/${bundle.folder}"/> | ||
<copy todir="${bundle.tmp.prep.path}/${bundle.folder}" overwrite="true"> | ||
<fileset dir="${bundle.srcfinal}"/> | ||
</copy> | ||
<copy todir="${bundle.tmp.prep.path}/${bundle.folder}" overwrite="true"> | ||
<fileset dir="${bundle.path}" defaultexcludes="yes" excludes=" | ||
deps.properties" | ||
/> | ||
</copy> | ||
</target> | ||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
0.24.6 = https://github.com/crazy-max/neard-tool-yarn/releases/download/r1/neard-yarn-0.24.6-r1.7z |