-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement complete tesselinclude detect spec #638
Comments
rwaldron
added a commit
to rwaldron/t2-cli
that referenced
this issue
Apr 7, 2016
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
rwaldron
added a commit
to rwaldron/t2-cli
that referenced
this issue
Apr 7, 2016
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
rwaldron
added a commit
to rwaldron/t2-cli
that referenced
this issue
Apr 8, 2016
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
rwaldron
added a commit
to rwaldron/t2-cli
that referenced
this issue
Apr 8, 2016
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
tikurahul
pushed a commit
to tikurahul/t2-cli
that referenced
this issue
Apr 10, 2016
…ssel#639) Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
t2 init
to auto-create a.tesselinclude
file, that contains the following:t2 run
andt2 push
operations:globRoot
, not'./'
*) aslist
list
does not include.tesselinclude
, do the following:list.length
is 3 andlist
includesnode_modules
,list
includes[opts.resolvedEntryPoint]
andlist
includespackage.json
, do nothinglist.length
is > 3,assets
be an empty arrayentry
inlist
, if[opts.resolveEntryPoint, 'node_modules', 'package.json'].includes(entry) === false
, pushentry
intoassets
list.forEach(entry => console.log(\
${entry})
This spec should be sufficient to meet the requirements and only costs a single
readdirSync
.* The current patch assumes that
t2 run ...
ort2 push ...
is always called from the project directory, which is an invalid assumption.The text was updated successfully, but these errors were encountered: