-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Bruno Herfst
committed
Apr 13, 2018
1 parent
2898807
commit 91259fd
Showing
17 changed files
with
99 additions
and
25 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 |
---|---|---|
@@ -1,10 +1,15 @@ | ||
# ExtendScript Modules | ||
Here you can find all the modules we host inside our [@extendscript](https://www.npmjs.com/org/extendscript) namespace on [npm](https://www.npmjs.com). We try to create a [DRY](https://en.wikipedia.org/wiki/Don%27t_repeat_yourself) package environment and therefore package any piece of reusable code into a seperate module. | ||
|
||
Read [the docs](./docs/README.md) | ||
Here you can find all the modules we host inside our [@extendscript](https://www.npmjs.com/org/extendscript) namespace on [npm](https://www.npmjs.com). We try to create a [DRY](https://en.wikipedia.org/wiki/Don%27t_repeat_yourself) package environment and therefore package any piece of reusable code into a seperate module. | ||
|
||
|
||
## Contributing | ||
|
||
All **modules** are published using the `@extendscript` scope. Please make sure you have read our [Code of Conduct](), [Contributing Guidelines]() and [Package Naming Conventions](). Then publish to npm using the `--access public` flag: | ||
|
||
npm publish --access public | ||
npm publish --access public | ||
|
||
|
||
## More info | ||
|
||
Read [the docs](./docs/README.md) |
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 |
---|---|---|
@@ -1,4 +1,8 @@ | ||
# ACROBAT scope | ||
|
||
Here you can find all the modules that target Acrobat. | ||
|
||
|
||
## More info | ||
|
||
Read [the docs](../docs/README.md) |
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
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
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
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
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
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,11 @@ | ||
# Test indesign-12, photoshop-18 | ||
- ✔ extendscript array.isarray test [pass: 0, fail: 0, duration: 0ms] | ||
- ✔ isarray Test [pass: 2, fail: 0, duration: 178ms] | ||
|
||
# Summary | ||
- duration: 178ms | ||
- planned: 2 | ||
- assertions: 2 | ||
- pass: 2 | ||
- fail: 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 |
---|---|---|
@@ -1,15 +1,8 @@ | ||
var argv = require('minimist')(process.argv.slice(3)); // Remove nodePath, tapePath, scriptpath | ||
var test = require('tape'); | ||
var estktap = require('estktap'); | ||
var path = require('path'); | ||
var shell = require('shelljs'); | ||
|
||
var targets = argv._; | ||
console.log("Starting tests for targets: " + targets); | ||
|
||
test('extendscript array.isarray test',function(t){ | ||
|
||
estktap('isarray Test', path.join(__dirname, '/test.jsx'), true, targets); | ||
|
||
t.end(); | ||
|
||
}); | ||
shell.exec('tape ./test/testTargets.js ' + targets.join(" ") + " | tap-markdown") | ||
.to('./test/Results.md') | ||
.sed('-i', '# Tests', '# Test ' + targets.join(", "), './test/Results.md'); |
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,7 @@ | ||
$.writeln($.os); | ||
try { | ||
$.writeln(app.name + ' ' + app.build); | ||
} catch (e) { | ||
$.writeln(app.name + ' ' + app.version); | ||
} | ||
$.writeln('Javascript version ' + $.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,14 @@ | ||
var argv = require('minimist')(process.argv.slice(3)); // Remove nodePath, tapePath, scriptpath | ||
var test = require('tape'); | ||
var estktap = require('estktap'); | ||
var path = require('path'); | ||
var fakestk = require('fakestk'); | ||
|
||
var targets = argv._; | ||
|
||
test('extendscript array.isarray test',function(t){ | ||
|
||
estktap('isarray Test', path.join(__dirname, '/test.jsx'), true, targets); | ||
|
||
t.end(); | ||
}); |
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 |
---|---|---|
@@ -1,4 +1,8 @@ | ||
# AFX scope | ||
|
||
Here you can find all the modules that target After Effects. | ||
|
||
|
||
## More info | ||
|
||
Read [the docs](../docs/README.md) |
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 |
---|---|---|
@@ -1,4 +1,8 @@ | ||
# AI scope | ||
|
||
Here you can find all the modules that target Illustrator. | ||
|
||
|
||
## More info | ||
|
||
Read [the docs](../docs/README.md) |
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 |
---|---|---|
@@ -1,4 +1,8 @@ | ||
# BRIDGE scope | ||
|
||
Here you can find all the modules that target Bridge. | ||
|
||
|
||
## More info | ||
|
||
Read [the docs](../docs/README.md) |
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 |
---|---|---|
@@ -1,4 +1,8 @@ | ||
# IND scope | ||
|
||
Here you can find all the modules that target InDesign. | ||
|
||
|
||
## More info | ||
|
||
Read [the docs](../docs/README.md) |
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 |
---|---|---|
@@ -1,4 +1,8 @@ | ||
# PS scope | ||
|
||
Here you can find all the modules that target Photoshop. | ||
|
||
|
||
## More info | ||
|
||
Read [the docs](../docs/README.md) |
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 |
---|---|---|
@@ -1,4 +1,8 @@ | ||
# SUI scope | ||
|
||
Here you can find all the modules that target ScriptUI. | ||
|
||
|
||
## More info | ||
|
||
Read [the docs](../docs/README.md) |