-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Always use master theme, Fix for menu, Remove Dependency (#12)
* Dont fix local links * Remove go-sh dependency, use less overwritable menu name * Use const * Use master theme * Disable currently useless features * Add hint about auto generated * Wording * Add test docs * Add more test docs * File if file does not exist * Add fix for trailing slashes * Local test configs * Make it work for once * Use old option, give more insight * More comments * Add test for clone * Always make * Use internet repo * Don't output stderr while testing * Add test data * Fix markdown syntax * Make test images smaller * Change header name * Add toc * Try mermaid
- Loading branch information
Showing
16 changed files
with
296 additions
and
72 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 |
---|---|---|
|
@@ -25,13 +25,13 @@ jobs: | |
uses: actions/checkout@v2 | ||
|
||
- name: dependencies | ||
run: make deps | ||
run: make --always-make deps | ||
|
||
- name: Fetch Theme | ||
run: make theme | ||
run: make --always-make theme | ||
|
||
- name: test | ||
run: make test | ||
run: make --always-make test | ||
|
||
# - name: coverage | ||
# uses: paambaati/[email protected] | ||
|
@@ -40,7 +40,7 @@ jobs: | |
# debug: true | ||
|
||
- name: build | ||
run: make build | ||
run: make --always-make build | ||
|
||
- name: Run Monako and compose site | ||
run: make compose | ||
run: make --always-make compose |
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
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,27 @@ | ||
package helpers | ||
|
||
// run: make test | ||
|
||
import ( | ||
"testing" | ||
) | ||
|
||
func TestCloneDir(t *testing.T) { | ||
|
||
// Use current dir as test repo, navigate two folders up because we are in /pkg/helpers | ||
_, fs := CloneDir("https://github.com/snipem/monako.git", "master", "", "") | ||
|
||
root, err := fs.Chroot(".") | ||
|
||
if err != nil { | ||
t.Error(err) | ||
} | ||
|
||
files, err := root.ReadDir(".") | ||
|
||
if err != nil { | ||
if len(files) == 0 { | ||
t.Errorf("No files checked out") | ||
} | ||
} | ||
} |
Oops, something went wrong.