Skip to content

Commit

Permalink
Merge pull request #7 from shipengcheng1230/fix_dep
Browse files Browse the repository at this point in the history
remove mlstyle dep
  • Loading branch information
shipengcheng1230 authored Jul 30, 2020
2 parents ff95d28 + 43cceb0 commit 33ea344
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 9 deletions.
6 changes: 2 additions & 4 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,18 +1,16 @@
name = "GmshTools"
uuid = "82e2f556-b1bd-5f1a-9576-f93c0da5f0ee"
authors = ["Pengcheng Shi"]
version = "0.4.0"
version = "0.4.1"

[deps]
Libdl = "8f399da3-3557-5675-b5ff-fb832c97cbdb"
MLStyle = "d8e11817-5142-5d16-987a-aa16d5891078"
Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
Requires = "ae029012-a4dd-5104-9daa-d747884805df"

[compat]
MLStyle = "0.3.1"
Requires = "1.0"
julia = "1.3"
julia = "1"

[extras]
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
Expand Down
1 change: 0 additions & 1 deletion src/GmshTools.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
module GmshTools

using MLStyle
using Requires

const depsfile = joinpath(@__DIR__, "..", "deps", "deps.jl")
Expand Down
6 changes: 2 additions & 4 deletions src/macros.jl
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,8 @@ macro gmsh_open(name, f)
end

"To match the tuple expression inside `begin` block and discard the rest."
match_tuple = begin
e::Expr -> e.head == :tuple ? e : nothing
a -> nothing
end
match_tuple(e::Expr) = e.head == :tuple ? e : nothing
match_tuple(a) = nothing

"To call the tuple args by `f`."
macro fun_call_tuple(f, expr)
Expand Down

2 comments on commit 33ea344

@shipengcheng1230
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/18734

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.4.1 -m "<description of version>" 33ea3449ae4dad9462b478de9497b5f58ba1bc4a
git push origin v0.4.1

Please sign in to comment.