mirror of
https://github.com/sbrow/ps.git
synced 2025-12-29 18:47:38 -05:00
Further documentation updates.
This commit is contained in:
@@ -4,8 +4,7 @@
|
||||
Package ps is a rudimentary API between Adobe Photoshop CS5 and Golang. The
|
||||
interaction between the two is implemented using Javascript/VBScript.
|
||||
|
||||
Currently only supports Photoshop CS5 Windows x86_64. go:generate godocdown
|
||||
-output=README.md
|
||||
Currently only supports Photoshop CS5 Windows x86_64.
|
||||
|
||||
## Installation
|
||||
```bash
|
||||
|
||||
3
ps.go
3
ps.go
@@ -1,8 +1,9 @@
|
||||
//go:generate godocdown -output=README.md
|
||||
|
||||
// Package ps is a rudimentary API between Adobe Photoshop CS5 and Golang.
|
||||
// The interaction between the two is implemented using Javascript/VBScript.
|
||||
//
|
||||
// Currently only supports Photoshop CS5 Windows x86_64.
|
||||
//go:generate godocdown -output=README.md
|
||||
package ps
|
||||
|
||||
import (
|
||||
|
||||
@@ -54,7 +54,7 @@ func TestClose(t *testing.T) {
|
||||
if testing.Short() {
|
||||
t.Skip("Skipping \"TestClose\"")
|
||||
}
|
||||
err := Close(2)
|
||||
err := Close(DoNotSaveChanges)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
@@ -65,7 +65,7 @@ func TestQuit(t *testing.T) {
|
||||
t.Skip("Skipping \"TestQuit\"")
|
||||
}
|
||||
Init()
|
||||
err := Quit(2)
|
||||
err := Quit(DoNotSaveChanges)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
@@ -95,7 +95,7 @@ func TestRun(t *testing.T) {
|
||||
t.Fatal(err)
|
||||
}
|
||||
if string(msg) != string(out) {
|
||||
fail := fmt.Sprintf("TestRun faild.\ngot:\n\"%s\"\nwant:\n\"%s\"\n", msg, out)
|
||||
fail := fmt.Sprintf("TestRun failed.\ngot:\n\"%s\"\nwant:\n\"%s\"\n", msg, out)
|
||||
t.Fatal(fail)
|
||||
}
|
||||
}
|
||||
|
||||
11
runner/README.md
Normal file
11
runner/README.md
Normal file
@@ -0,0 +1,11 @@
|
||||
# runner
|
||||
[](https://godoc.org/github.com/sbrow/runner) [](https://travis-ci.org/sbrow/runner) [](https://coveralls.io/github/sbrow/runner?branch=master) [](https://goreportcard.com/report/github.com/sbrow/runner)
|
||||
|
||||
Package runner runs the non-go code that Photoshop understands, and passes it to
|
||||
back to the go program. Currently, this is primarily implemented through Adobe
|
||||
Extendscript, but hopefully in the future it will be upgraded to a C++ plugin.
|
||||
|
||||
## Installation
|
||||
```bash
|
||||
$ go get -u github.com/sbrow/ps/runner
|
||||
```
|
||||
@@ -1,3 +1,9 @@
|
||||
//go:generate godocdown -template ../.godocdown.template -output=README.md
|
||||
|
||||
// Package runner runs the non-go code that Photoshop understands,
|
||||
// and passes it to back to the go program. Currently, this is
|
||||
// primarily implemented through Adobe Extendscript, but hopefully
|
||||
// in the future it will be upgraded to a C++ plugin.
|
||||
package runner
|
||||
|
||||
import (
|
||||
|
||||
Reference in New Issue
Block a user