Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Advanced Order Numbers for WooCommerce
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
WooCommerce
Advanced Order Numbers for WooCommerce
Commits
9ed05d2a
Commit
9ed05d2a
authored
9 years ago
by
Reinhold Kainhofer
Browse files
Options
Downloads
Patches
Plain Diff
Fix directory name of the advanced plugin
parent
81e5dbf2
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Makefile
+11
-10
11 additions, 10 deletions
Makefile
ordernumbers_woocommerce.php
+1
-0
1 addition, 0 deletions
ordernumbers_woocommerce.php
with
12 additions
and
10 deletions
Makefile
+
11
−
10
View file @
9ed05d2a
...
...
@@ -6,8 +6,8 @@ DIR = $(shell pwd)
SVNDIR
=
wordpress-plugin-svn
BUILDDIR
=
.build/
BASICBUILDDIR
=
$(
VENDOR
)
-
$(
PLATTFORM
)
-
$(
BASE
)
-basic
ADVBUILDDIR
=
$(
VENDOR
)
-
$(
PLATTFORM
)
-
$(
BASE
)
-
advanced
BASICBUILDDIR
=
$(
PLATTFORM
)
-
basic-
$(
BASE
)
ADVBUILDDIR
=
$(
PLATTFORM
)
-advanced
-
$(
BASE
)
PLUGINFILES
=
library assets ordernumber_helper_woocommerce.php ordernumbers_woocommerce_basic.php readme.txt LICENSE.txt
BASICPLUGINFILES
=
woocommerce-basic-ordernumbers.php
...
...
@@ -23,19 +23,20 @@ all: zip
zip
:
$(PLUGINFILES) $(ADVPLUGINFILES) $(BASICPLUGINFILES) $(TRANSLATIONS)
echo
$(
DIR
)
@
echo
"Packing basic plugin version into distribution file
$(
ZIPFILE
)
:"
mkdir
-p
$(
BUILDDIR
)
/
$(
BASICBUILDDIR
)
cp
--parents
-r
$(
PLUGINFILES
)
$(
BASICPLUGINFILES
)
$(
TRANSLATIONS
)
$(
BUILDDIR
)
/
$(
BASICBUILDDIR
)
@
mkdir
-p
$(
BUILDDIR
)
/
$(
BASICBUILDDIR
)
@
cp
--parents
-r
$(
PLUGINFILES
)
$(
BASICPLUGINFILES
)
$(
TRANSLATIONS
)
$(
BUILDDIR
)
/
$(
BASICBUILDDIR
)
cd
$(
BUILDDIR
)
&&
zip
-r
$(
DIR
)
/
$(
ZIPFILE
)
$(
BASICBUILDDIR
)
# @zip -r
mkdir
-p
$(BUILDDIR)/$(ADVBUILDDIR)
echo
`pwd`mak
cp
--parents
-r
$(PLUGINFILES)
$(ADVPLUGINFILES)
$(TRANSLATIONS)
$(BUILDDIR)/$(ADVBUILDDIR)
cp
readme-adv.txt
$(BUILDDIR)/$(ADVBUILDDIR)/readme.txt
cd
$(BUILDDIR)
&&
zip
-r
$(DIR)/$(ADVZIPFILE)
$(ADVBUILDDIR)
@echo "Packing advanced plugin version into distribution file $(ADVZIPFILE)
:
"
@
mkdir
-p
$(
BUILDDIR
)
/
$(
ADVBUILDDIR
)
echo
`
pwd
`
@
cp
--parents
-r
$(
PLUGINFILES
)
$(
ADVPLUGINFILES
)
$(
TRANSLATIONS
)
$(
BUILDDIR
)
/
$(
ADVBUILDDIR
)
@
cp
readme-adv.txt
$(
BUILDDIR
)
/
$(
ADVBUILDDIR
)
/readme.txt
@
cd
$(
BUILDDIR
)
&&
zip
-r
$(
DIR
)
/
$(
ADVZIPFILE
)
$(
ADVBUILDDIR
)
cd
$(
DIR
)
clean
:
rm
-f
$(
ZIPFILE
)
$(
ADVZIPFILE
)
$(
BUILDDIR
)
$(
ADVBUILDDIR
)
rm
-
r
f
$(
ZIPFILE
)
$(
ADVZIPFILE
)
$(
BUILDDIR
)
$(
ADVBUILDDIR
)
$(SVNDIR)/tags/$(VERSION)
:
cd
$(
SVNDIR
)
&&
svn
cp
trunk tags/
$(
VERSION
)
...
...
This diff is collapsed.
Click to expand it.
ordernumbers_woocommerce.php
+
1
−
0
View file @
9ed05d2a
...
...
@@ -43,6 +43,7 @@ class OpenToolsOrdernumbers extends OpenToolsOrdernumbersBasic {
// Install hooks for third-party plugin support:
$this
->
thirdparty_wpo_wcpdf_init
();
}
protected
function
initializeSettingsGeneral
()
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment