-
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.
fix: make sure that created
Project.toml
gets included in the appbu…
…ndle (#44) * test: rename, group packagebundler test * fix: always include the Project.toml in the appbundle create_pkg_context generates the Project.toml, but is currently called after the files have been copied over to the temporary directory that gets tarred up. This patch moves the copying of the appbundle contents after the Project.toml has been created. * fix: support relative paths in appbundle paths * docs: clarify the appbundle() docstring * Add CHANGELOG, set version to 0.1.6
- Loading branch information
Showing
17 changed files
with
331 additions
and
42 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
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
File renamed without changes.
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,10 @@ | ||
using Pkg1 | ||
|
||
@assert Pkg1.whoami() == "pkg1" | ||
@assert Pkg1.Pkg2.whoami() == "pkg2" | ||
@assert Pkg1.Pkg3.whoami() == "pkg3" | ||
|
||
for i in 1:100 | ||
println(i) | ||
sleep(1) | ||
end |
2 changes: 2 additions & 0 deletions
2
test/fixtures/ignorefiles/Pkg1/bundle.nomanifest/Project.toml
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 @@ | ||
[deps] | ||
Example = "7876af07-990d-54b4-ab0e-23690620f79a" |
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,10 @@ | ||
using Pkg1 | ||
|
||
@assert Pkg1.whoami() == "pkg1" | ||
@assert Pkg1.Pkg2.whoami() == "pkg2" | ||
@assert Pkg1.Pkg3.whoami() == "pkg3" | ||
|
||
for i in 1:100 | ||
println(i) | ||
sleep(1) | ||
end |
File renamed without changes.
10 changes: 10 additions & 0 deletions
10
test/fixtures/ignorefiles/Pkg1/bundle.noproject-throw/run.jl
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,10 @@ | ||
using Pkg1 | ||
|
||
@assert Pkg1.whoami() == "pkg1" | ||
@assert Pkg1.Pkg2.whoami() == "pkg2" | ||
@assert Pkg1.Pkg3.whoami() == "pkg3" | ||
|
||
for i in 1:100 | ||
println(i) | ||
sleep(1) | ||
end |
22 changes: 22 additions & 0 deletions
22
test/fixtures/ignorefiles/Pkg1/bundle.noproject/Manifest.toml
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,22 @@ | ||
# This file is machine-generated - editing it directly is not advised | ||
|
||
julia_version = "1.7.1" | ||
manifest_format = "2.0" | ||
project_hash = "8aa8902f5725df756a200ded26d78d775619a452" | ||
|
||
[[deps.Pkg1]] | ||
deps = ["Pkg2", "Pkg3"] | ||
path = ".." | ||
uuid = "0d733eb5-97ac-4a4a-9738-0f33664ba196" | ||
version = "0.1.0" | ||
|
||
[[deps.Pkg2]] | ||
deps = ["Pkg3"] | ||
path = "../../Pkg2" | ||
uuid = "df0ae394-da6f-45d5-857b-fe46f2dd6ae6" | ||
version = "0.1.0" | ||
|
||
[[deps.Pkg3]] | ||
path = "../../Pkg3" | ||
uuid = "8e8c87e8-d389-41a9-b801-d72778e29757" | ||
version = "0.1.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,10 @@ | ||
using Pkg1 | ||
|
||
@assert Pkg1.whoami() == "pkg1" | ||
@assert Pkg1.Pkg2.whoami() == "pkg2" | ||
@assert Pkg1.Pkg3.whoami() == "pkg3" | ||
|
||
for i in 1:100 | ||
println(i) | ||
sleep(1) | ||
end |
22 changes: 22 additions & 0 deletions
22
test/fixtures/ignorefiles/Pkg1/bundle.standard/Manifest.toml
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,22 @@ | ||
# This file is machine-generated - editing it directly is not advised | ||
|
||
julia_version = "1.7.1" | ||
manifest_format = "2.0" | ||
project_hash = "8aa8902f5725df756a200ded26d78d775619a452" | ||
|
||
[[deps.Pkg1]] | ||
deps = ["Pkg2", "Pkg3"] | ||
path = ".." | ||
uuid = "0d733eb5-97ac-4a4a-9738-0f33664ba196" | ||
version = "0.1.0" | ||
|
||
[[deps.Pkg2]] | ||
deps = ["Pkg3"] | ||
path = "../../Pkg2" | ||
uuid = "df0ae394-da6f-45d5-857b-fe46f2dd6ae6" | ||
version = "0.1.0" | ||
|
||
[[deps.Pkg3]] | ||
path = "../../Pkg3" | ||
uuid = "8e8c87e8-d389-41a9-b801-d72778e29757" | ||
version = "0.1.0" |
File renamed without changes.
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,10 @@ | ||
using Pkg1 | ||
|
||
@assert Pkg1.whoami() == "pkg1" | ||
@assert Pkg1.Pkg2.whoami() == "pkg2" | ||
@assert Pkg1.Pkg3.whoami() == "pkg3" | ||
|
||
for i in 1:100 | ||
println(i) | ||
sleep(1) | ||
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
Oops, something went wrong.